Package: factree
Type: Package
Title: Factor-Augmented Clustering Tree
Date: 2026-11-25
Version: 0.2.1
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. 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.
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-29 08:08:34 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-30 16:00:16 UTC
