factree: Factor-Augmented Clustering Tree

Implements the Factor-Augmented Clustering Tree (FACT) for clustering time series using covariates and group factor models. The tree compares child-node factor spaces through projector eigenvalues and uses PCA residual energy to determine node-specific stopping tolerances. Working ranks are selected by PC2 (default), BIC1 or BIC3. A comparison rank is selected once at the root or supplied by the user. Descendants use the minimum eigenvalue at that rank to decide whether to split. The package also recovers global and local factors and their loadings, provides factor-space distance measures and a data generator. Candidate splits can be evaluated in parallel.

Version: 0.2.1
Depends: R (≥ 3.5.0)
Imports: irlba, foreach, doParallel, parallel, ggplot2 (≥ 3.4.0), igraph, grid
Published: 2026-11-30
DOI: 10.32614/CRAN.package.factree
Author: Jiaqi Hu [cre, aut], Ting Li [ctb] (Assisted with methodology), Zidan Luo [ctb] (Assisted with methodology), Xueqin Wang [ctb] (Assisted with methodology)
Maintainer: Jiaqi Hu <hujiaqi at mail.ustc.edu.cn>
License: MIT + file LICENSE
NeedsCompilation: no
Materials: NEWS
CRAN checks: factree results

Documentation:

Reference manual: factree.html , factree.pdf

Downloads:

Package source: factree_0.2.1.tar.gz
Windows binaries: r-devel: factree_0.2.0.zip, r-release: factree_0.2.0.zip, r-oldrel: factree_0.2.0.zip
macOS binaries: r-release (arm64): factree_0.2.1.tgz, r-oldrel (arm64): factree_0.2.0.tgz, r-release (x86_64): factree_0.2.1.tgz, r-oldrel (x86_64): factree_0.2.1.tgz
Old sources: factree archive

Linking:

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