Description Usage Arguments Value Note Examples
data_to_pca: From tidy data.table estimate PCAs for well-defined groups
1 2 | data_to_pca(dt_to_pca, id1, id2, value, n_pca = 2, ..., scale = T,
plot = F, verbose = T)
|
dt_tmp: |
Tidy dataset |
id1: |
vector of y (vertical) coordinates for the first line |
id2: |
vector of x (horizontal) coordinates for the second line |
value: |
vector of y (vertical) coordinates for the second line |
n_pca: |
Number of PCAs to output |
scale: |
Scaling option for the PCA analysis |
plot: |
plot "time series" of PCA |
verbose: |
non binding for now |
list of datasets (and plot) of loadings and time series
Useful for some time series representations
1 | data_to_pca(dt_ind, date_y, ind, n_pca = 5)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.