The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.

treeSS: Tree-Spatial Scan Statistic for Cluster Detection

Implements the tree-spatial scan statistic for detecting clusters that combine both spatial and hierarchical structures, as proposed by Cancado et al. (2025) <doi:10.1007/s10651-025-00670-w>. The method extends Kulldorff (1997) <doi:10.1080/03610929708831995> circular spatial scan statistic and the tree-based scan statistic of Kulldorff et al. (2003) <doi:10.1111/1541-0420.00039> by searching for anomalies in both geographic regions and branches of hierarchical trees simultaneously. The package also provides standalone implementations of Kulldorff's circular spatial scan statistic and the tree-based scan statistic. Statistical significance is assessed via Monte Carlo simulation under a Poisson or binomial model, with optional 'OpenMP' parallelization.

Version: 0.1.50
Depends: R (≥ 3.5.0)
Imports: Rcpp (≥ 1.0.0), stats
LinkingTo: Rcpp
Suggests: testthat (≥ 3.0.0), knitr, rmarkdown, sf
Published: 2026-05-30
DOI: 10.32614/CRAN.package.treeSS
Author: Allan Quadros ORCID iD [aut, cre], Andre L. F. Cançado ORCID iD [aut], Geiziane S. Oliveira [aut], Luiz H. Duczmal [aut]
Maintainer: Allan Quadros <allanvcq at gmail.com>
BugReports: https://github.com/allanvc/treeSS/issues
License: GPL (≥ 3)
URL: https://github.com/allanvc/treeSS
NeedsCompilation: yes
SystemRequirements: GNU make
Citation: treeSS citation info
Materials: README, NEWS
CRAN checks: treeSS results

Documentation:

Reference manual: treeSS.html , treeSS.pdf
Vignettes: Building treeSS inputs from raw data: Florida mortality 2016 (source, R code)
Introduction to treeSS: reproducing Cançado et al. (2025) (source, R code)

Downloads:

Package source: treeSS_0.1.50.tar.gz
Windows binaries: r-devel: treeSS_0.1.50.zip, r-release: treeSS_0.1.50.zip, r-oldrel: treeSS_0.1.50.zip
macOS binaries: r-release (arm64): treeSS_0.1.50.tgz, r-oldrel (arm64): treeSS_0.1.50.tgz, r-release (x86_64): treeSS_0.1.50.tgz, r-oldrel (x86_64): treeSS_0.1.50.tgz
Old sources: treeSS archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=treeSS to link to this page.

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.