Description Usage Arguments Value
Filter out PCs colinear with other covariates.
1 | filter.pca(PCA, covs = NULL, threshold = 0.2)
|
PCA |
The output list from the prcomp() function. |
covs |
A matrix/data frame of covariates (rows = individuals, columns = covariates) |
threshold |
A numerical value (0-1) indicating the maximum allowed correlation between any one covariate and any one PC |
A prcomp() list output with PCs filtered
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.