Drpca {FPCdpca}R Documentation

Distributed random PCA

Description

Distributed random PCA

Usage

Drpca(data,K, nk,d)

Arguments

data

is sparse random projection matrix

K

is the number of distributed nodes.

nk

is the size of subsets.

d

is the dimension number. n is the sample size. p the number of variables.

Value

MSEXrp, MSEvrp, kSopt, kxopt

Examples

K=20; nk=50; nr=50; p=8;d=5; n=K*nk;
data=matrix(c(rnorm((n-nr)*p,0,1),rpois(nr*p,100)),ncol=p)

[Package FPCdpca version 0.3.0 Index]