Skip to contents

`print_mpca` call the MPCA object to print the summary of this analysis.

Usage

print_mpca(Object)

# S4 method for MPCA
print_mpca(Object)

Arguments

Object

a MPCA object

Details

The plot function employs the built-in print function and a precomputed MPCA summary to display the explained and cumulative variance for each principal component.

Examples


data(MTBLS579)
MTBLS_mpca <- m_prcomp(MTBLS579, center = TRUE)
print_mpca(MTBLS_mpca)
#> Importance of components:
#>                              PC1       PC2       PC3      PC4       PC5
#> Standard deviation     2.725e+06 1.038e+06 6.156e+05 5.93e-09 1.674e-09
#> Proportion of Variance 8.360e-01 1.213e-01 4.268e-02 0.00e+00 0.000e+00
#> Cumulative Proportion  8.360e-01 9.573e-01 1.000e+00 1.00e+00 1.000e+00
#>                              PC6
#> Standard deviation     2.822e-10
#> Proportion of Variance 0.000e+00
#> Cumulative Proportion  1.000e+00