data_to_pca: data_to_pca: From tidy data.table estimate PCAs for...

Description Usage Arguments Value Note Examples

Description

data_to_pca: From tidy data.table estimate PCAs for well-defined groups

Usage

1
2
data_to_pca(dt_to_pca, id1, id2, value, n_pca = 2, ..., scale = T,
  plot = F, verbose = T)

Arguments

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

Value

list of datasets (and plot) of loadings and time series

Note

Useful for some time series representations

Examples

1
  data_to_pca(dt_ind, date_y, ind, n_pca = 5)

eloualiche/miscr documentation built on May 16, 2019, 3:57 a.m.