| print_mspca | R Documentation |
Displays the output of the msPCA algorithm.
print_mspca(sol_object, C)
sol_object |
A list. The output of the mspca or twp function. |
C |
A matrix. The correlation or covariance matrix (p x p). |
None. Prints output to console.
library(datasets)
TestMat <- cor(datasets::mtcars)
mspcares <- mspca(TestMat, 2, c(4,4))
print_mspca(mspcares, TestMat)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.