Package: treeSS 0.1.50

Allan Quadros

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.

Authors:Allan Quadros [aut, cre], Andre L. F. Cançado [aut], Geiziane S. Oliveira [aut], Luiz H. Duczmal [aut]

treeSS_0.1.50.tar.gz
treeSS_0.1.50.tar.gz(r-4.7-arm64)treeSS_0.1.50.tar.gz(r-4.7-x86_64)treeSS_0.1.50.tar.gz(r-4.6-arm64)treeSS_0.1.50.tar.gz(r-4.6-x86_64)
treeSS_0.1.50.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
treeSS/json (API)
NEWS

# Install 'treeSS' in R:
install.packages('treeSS', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/allanvc/treess/issues

Uses libs:
  • c++– GNU Standard C++ Library v3
  • openmp– GCC OpenMP (GOMP) support library
Datasets:

On CRAN:

Conda:

cppopenmp

3.30 score 1 scripts 224 downloads 9 exports 1 dependencies

Last updated from:77d049f544. Checks:6 OK. Indexed: no.

TargetResultTimeFilesSyslog
linux-devel-arm64OK142
linux-devel-x86_64OK138
source / vignettesOK203
linux-release-arm64OK143
linux-release-x86_64OK138
wasm-releaseOK118

Exports:aggregate_treebuild_zonescircular_scanfilter_clustersgenerate_example_dataget_cluster_regionssequential_scantree_scantreespatial_scan

Dependencies:Rcpp

Building treeSS inputs from raw data: Florida mortality 2016

Rendered fromflorida.Rmdusingknitr::rmarkdownon May 30 2026.

Last update: 2026-05-30
Started: 2026-05-30

Introduction to treeSS: reproducing Cançado et al. (2025)

Rendered fromintroduction.Rmdusingknitr::rmarkdownon May 30 2026.

Last update: 2026-05-30
Started: 2026-05-15

Readme and manuals

Help Manual

Help pageTopics
treeSS: Tree-Spatial Scan Statistic for Cluster DetectiontreeSS-package treeSS
Aggregate Case Counts from Leaves to All Nodes in a Hierarchical Treeaggregate_tree
Build Candidate Spatial Zones Using Circular Windowsbuild_zones
Chicago Crime (2023)chicago_crimes
Chicago Community Area Boundarieschicago_map
Chicago Crime - Hierarchychicago_tree
Kulldorff's Circular Spatial Scan Statisticcircular_scan
Filter Overlapping Secondary Clustersfilter_clusters
Florida General Mortality Data (2016)fl_deaths
Generate Example Data for Tree-Spatial Scangenerate_example_data
Extract Cluster Membership for Each Regionget_cluster_regions get_cluster_regions.default get_cluster_regions.sequential_scan
London Borough Boundarieslondon_boroughs_map
London Road Collisions (2022)london_collisions
London Road Collisions - Hierarchylondon_tree
Print Method for circular_scan Objectsprint.circular_scan
Print Method for sequential_scan Objectsprint.sequential_scan
Print Method for tree_scan Objectsprint.tree_scan
Print Method for treespatial_scan Objectsprint.treespatial_scan
Rio de Janeiro Infant Mortality (2016)rj_mortality
Rio de Janeiro Infant Mortality - ICD-10 Treerj_tree
Sequential Scan for Secondary Clusterssequential_scan
Summary Method for circular_scan Objectssummary.circular_scan
Summary Method for sequential_scan Objectssummary.sequential_scan
Summary Method for tree_scan Objectssummary.tree_scan
Summary Method for treespatial_scan Objectssummary.treespatial_scan
Tree-Based Scan Statistictree_scan
Tree-Spatial Scan Statistictreespatial_scan