MSEpca {DLPCA} | R Documentation |
MSE on PCA
Description
Caculate the MSE value on PCA
Usage
MSEpca(V = V, X = X, n = n, p = p, m = m, K = K, L = L)
Arguments
V |
is the right singular matrix |
X |
is the orignal data set |
n |
is the sample size |
p |
is the number of variables |
m |
is the number of eigenvalues |
K |
is the number of nodes |
L |
is the number of subgroups |
Value
MSEpca |
the MSE value on PCA |
Examples
data(Application)
X=Application
n=nrow(Application);p=ncol(Application)
m=5;L=4;K=4
DLPCA_result=DLPCA(X=X,n=n,p=p,m=m,K=K,L=L)
V=DLPCA_result$V
MSEpca_result=MSEpca(V=V,X=X,n=n,p=p,m=m,K=K,L=L)
MSE_PCA=MSEpca_result$MSEpca
[Package DLPCA version 0.0.5 Index]