treeSS 0.1.50 (2nd CRAN patch)

Small adjustments to the DESCRIPTION file

treeSS 0.1.49

Small adjustments to the vignettes

treeSS 0.1.48

Vignettes restructured

The package now ships two vignettes:

The Chicago and London datasets, previously discussed inline in the introduction vignette, are now reserved for the companion software paper.

treeSS 0.1.47

Bug fix: spurious empty facet in sequential-scan map examples

The four bundled plotting examples for sequential_scan() (example_brazil_rj.R, example_chicago.R, example_florida.R) previously did a left join from the full map polygon set onto the cluster table. When the shapefile contained polygons not present in the analysis dataset (3 RJ municipalities missing from the DATASUS/IBGE 89-municipality subset, for instance), those polygons emerged with panel = NA, which facet_wrap rendered as an extra empty panel labelled “NA”.

The examples now cross-join the polygon set with the panel labels first and then left-join the cluster information by (id, panel), so every map polygon is drawn in every iteration panel — those that fall outside the analysis dataset get the na.value colour (a light grey), exactly as intended. No extra “NA” panel is produced.

The london example uses leaflet rather than facet_wrap and was not affected.

treeSS 0.1.46

Removed: multicluster_scan()

multicluster_scan() (added in 0.1.45 as an adaptation of Li, Wang, Yang, Li and Lai 2011 to the tree-spatial setting) has been removed. The function is gone, along with its C++ backend (mc_multicluster_treespatial_cpp, mc_multicluster_spatial_cpp), the get_cluster_regions.multicluster_scan S3 method, the corresponding print / summary methods, all examples, and the vignette subsection.

Rationale:

Users who want joint-cluster detection in the circular case can use the original implementation from Li et al. (2011) outside this package.

Secondary-cluster methods after 0.1.46

The package now offers two clearly-bounded approaches:

treeSS 0.1.45

Secondary clusters: methods overhaul

Replaced the ad-hoc Holm-Bonferroni iterative_scan() with two methods drawn directly from the published literature on multi-cluster spatial scan statistics, adapted to the tree-spatial setting. The package now offers three approaches to secondary-cluster detection, with the choice driven by which type of shadowing the user wants to remove:

Removed

New S3 methods

Documentation

Tests

treeSS 0.1.44

CRAN reviewer feedback

Address the four items requested in the first-round CRAN review.

DESCRIPTION

Documentation (R/print.R, R/iterative_scan.R, man/*.Rd)

Bug fixes (R/generate_example_data.R, man/generate_example_data.Rd)

treeSS 0.1.43

CRAN-readiness pass

Testing a a clean R CMD check --as-cran.

DESCRIPTION

Documentation (R/data.R, man/{chicago,london,rj}_tree.Rd)

Documentation (R/get_cluster_regions.R, man/get_cluster_regions.Rd)

Documentation (R/filter_clusters.R)

Bug fixes (R/circular_scan.R, R/tree_scan.R, R/treespatial_scan.R, R/generate_example_data.R)

CRAN submission infrastructure

README.md

treeSS 0.1.42

Documentation (R/print.R, man/*.Rd)

treeSS 0.1.39

The print methods now truncate long Leaf IDs and Regions lists by default, in the style of tibble. The motivation is the Chicago example: the most likely cluster turns out to be the root of the FBI crime taxonomy (1900+ leaves), which under the previous policy printed every single leaf, producing more than 10 pages of console output in the rendered PDF.

The choice of default mirrors tibble’s behavior: enough to give the reader a sense of the cluster contents, but not so much that a single print() call dominates the document.

treeSS 0.1.18