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 |
| 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 |
| 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) |
| Package source: | treeSS_0.1.50.tar.gz |
| Windows binaries: | r-devel: treeSS_0.1.44.zip, r-release: treeSS_0.1.44.zip, r-oldrel: treeSS_0.1.44.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 |
Please use the canonical form https://CRAN.R-project.org/package=treeSS to link to this page.