Learn R Programming

factree (version 0.1.0)

Factor-Augmented Clustering Tree

Description

Implements the Factor-Augmented Clustering Tree (FACT) algorithm for clustering time series data. The method constructs a classification tree where splits are determined by covariates, and the splitting criterion is based on a group factor model representation of the time series within each node. Both threshold-based and permutation-based tests are supported for splitting decisions, with an option for parallel computation. For methodological details, see Hu, Li, Luo, and Wang (2025, in preparation), Factor-Augmented Clustering Tree for Time Series.

Copy Link

Version

Install

install.packages('factree')

Version

0.1.0

License

MIT + file LICENSE

Maintainer

Jiaqi Hu

Last Published

December 10th, 2025

Functions in factree (0.1.0)

plot.FACT

Plot a FACT Tree Object
calculate_split_statistic

Calculate Split Statistic
COR

Correlation-Based Clustering Tree
FACT

Factor-Augmented Clustering Tree
gendata

Generate Synthetic Group Factor Model Data
print.FACT

Print a FACT Tree Object
find_best_split

Find the Best Split for a Node
find_best_split_COR

Find Best Split Using Correlation Criterion