Description Usage Arguments Value See Also
Prints sparse loadings omitting the zero ones and giving the cumulative variance explained.
1 2 3 4 5 6 7 8 9 | print_spca(
obj,
contributions = TRUE,
only.nonzero = TRUE,
digits = 1,
threshold = 0.001,
prn = TRUE,
rtn = FALSE
)
|
obj |
An spca object. |
contributions |
Logical: should the loadings be standardised to unit L_1 norm (and printed as percentage contributions)? |
only.nonzero |
Logical: if = TRUE only the nonzero loadings are printed. otherwise all loadings are printed. |
digits |
Integer: number of decimal figures. |
threshold |
Value below which loadings are considered zero and not printed. |
prn |
Logical: should the table be printed? |
rtn |
Logical: should the formatted (text) table be returned? |
If rtn = TRUE, it returns a text table formatted as specified by the arguments.
Examples in lsspca.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.