Description Usage Arguments Value Author(s)
In addition to the svd function in R's base package, this principal component (pc) analysis function also adds the variance explained per pc, and the score matrix (t).
1 |
data |
the data matrix upon which the pca is to performed. |
A list of results is returned, containing:
d |
a vector containing the singular values of x, of length min(n, p). |
v |
a matrix whose columns contain the right singular vectors of x, present if nv > 0. Dimension c(p, nv). |
var.explained |
percentage of variance explained per pc. |
t |
scores. |
Tim Dorscheidt
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.