Description Usage Arguments Value Author(s) Examples
View source: R/contselec-package8.R
This function returns PCA scores for the 1th,...,"np"th principal components of "data0s" so that [explained variance]/[total variance] is larger than "edge_explain"
1 |
data0s |
: data.frame or matrix |
edge_explain |
real number : "np" is chosen so that [explained variance]/[total variance] > "edge_explain", when "np" is not given |
np |
integer : number of principal components extracted |
scale |
TRUE/FALSE : if TRUE, variables are scaled in advance so that mean=0 and sd=1. |
list(np, data0s_pcom), where "np" (integer) is number of principal components, and "data0s_pcom" (matrix) contains PCA scores for the corresponding principal components.
Hiroshi C. Ito
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.