Package: factree
Type: Package
Title: Factor-Augmented Clustering Tree
Date: 2026-10-30
Version: 0.2.0
Authors@R: c(
  person(given = "Jiaqi", family = "Hu", email = "hujiaqi@mail.ustc.edu.cn", role = c("cre", "aut")),
  person(given = "Ting", family = "Li", email = "tingeric.li@polyu.edu.hk", role = c("ctb"), comment = "Assisted with methodology"),
  person(given = "Zidan", family = "Luo", email = "zluo@fas.harvard.edu", role = c("ctb"), comment = "Assisted with methodology"),
  person(given = "Xueqin", family = "Wang", email = "wangxq20@ustc.edu.cn", role = c("ctb"), comment = "Assisted with methodology"))
Maintainer: Jiaqi Hu <hujiaqi@mail.ustc.edu.cn>
Description: 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.
License: MIT + file LICENSE
Encoding: UTF-8
Depends: R (>= 3.5.0)
Imports: irlba, foreach, doParallel, parallel, ggplot2 (>= 3.4.0),
        igraph, grid
Config/roxygen2/version: 8.0.0
NeedsCompilation: no
Packaged: 2026-11-23 11:29:33 UTC; hujiaqi
Author: Jiaqi Hu [cre, aut],
  Ting Li [ctb] (Assisted with methodology),
  Zidan Luo [ctb] (Assisted with methodology),
  Xueqin Wang [ctb] (Assisted with methodology)
Repository: CRAN
Date/Publication: 2026-11-23 12:10:02 UTC
