ispca.plot | R Documentation |
Plot the convergence path graph or estimated value of the first eigenvector u in the integrative sparse principal component analysis method.
ispca.plot(x, type)
x |
list of "ispca", which is the result of command "ispca". |
type |
character, "path" or "loading" type, if "path", plot the the convergence path graph of the first eigenvector u in the integrative sparse principal component analysis method, if "loading", plot the first eigenvector. |
See details in ispca
.
the convergence path graph or the scatter diagrams of the first eigenvector u.
library(iSFun) data("simData.pca") x <- simData.pca$x L <- length(x) res_homo_m <- ispca(x = x, L = L, mu1 = 0.5, mu2 = 0.002, trace = FALSE, draw = FALSE) ispca.plot(x = res_homo_m, type = "path") ispca.plot(x = res_homo_m, type = "loading")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.