boot.eigen | R Documentation |
boot.eigen
:
generates
a bootstrap distribution of eigenvalues
for a given (rectangular) matrix.
boot.eigen(X, nIter = 100, center = TRUE, scale = "SS1")
X |
The original data matrix. |
nIter |
how many bootstrapped sets of eigenvalues
to generate; Default: |
center |
(Default = |
scale |
the type of scaling of the columns of
data. Can be |
boot.eigen
uses scale0
to
normalize the data and so will not create NaN
when the variance of a column is 0 (it will create
a vector of 0s).
a list with 3 elements
$fixed.eigs
: the eigen-values of X
,
$boot.eigs
: an nIter
by rank(X
) matrix
of the eigenvalues of the bootstrapped samples,
$boot.eigs.sorted
: an nIter
by rank(X
) matrix
of the eigenvalues of the bootstrapped samples.
Hervé Abdi
scale0
monteCarlo.eigen
data(iris)
bootstapped.Eigenvalues <- boot.eigen(iris[,1:4], nIter = 10)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.