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, and comparison ranks are selected automatically at each node or supplied as a fixed value. 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.0
Depends: R (≥ 3.5.0)
Imports: irlba, foreach, doParallel, parallel, ggplot2 (≥ 3.4.0), igraph, grid
Published: 2026-11-23
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.0.tar.gz
Windows binaries: r-devel: factree_0.1.0.zip, r-release: factree_0.1.0.zip, r-oldrel: factree_0.1.0.zip
macOS binaries: r-release (arm64): factree_0.2.0.tgz, r-oldrel (arm64): factree_0.2.0.tgz, r-release (x86_64): factree_0.2.0.tgz, r-oldrel (x86_64): factree_0.2.0.tgz
Old sources: factree archive

Linking:

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