- X
An n-by-p data matrix for which the first sparse PC will be computed.
- max.iter
Maximum number of iterations for power iteration method. See powerIteration
.
- sparse.threshold
Threshold on loadings used to induce sparsity.
Loadings below this value are set to 0. If not specified, defaults to 1/sqrt(p)
.
- lambda.diff.threshold
Threshold for exiting the power iteration calculation.
If the absolute relative difference in lambda is less than this threshold between subsequent iterations,
the power iteration method is terminated. See powerIteration
.
- compute.sparse.lambda
If true, the sparse loadings will be used to compute the sparse eigenvalue.
- sub.mat.max.iter
Maximum iterations for computation of sub-matrix eigenvalues using
the power iteration method. To maximize performance, set to 1. Uses the same lambda.diff.threshold.
- trace
True if debugging messages should be displayed during execution.