compute_best_hrfs | R Documentation |
This is an internal helper that tries to match each column of X_proj (representing data-based PCs) to columns of L_proj (the library's PCs), and optionally performs a hierarchical clustering to group them.
compute_best_hrfs(
X_proj,
L_proj,
L,
cluster_series = TRUE,
cluster_quantile = 0.5,
dist_method = "euclidean"
)
X_proj |
Typically the projection of the data |
L_proj |
The projection of the library |
L |
The full library matrix (rows= time, cols= candidates) |
cluster_series |
If TRUE, we cluster with cutree |
cluster_quantile |
The distance threshold quantile |
dist_method |
The distance measure (by default "euclidean") |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.