| DGaoPC | R Documentation |
Performs distributed Gao-type principal component analysis on a numeric dataset split across multiple nodes.
DGaoPC(data, m, n1, K)
data |
A numeric matrix containing the total dataset. |
m |
An integer specifying the number of principal components for the first stage. |
n1 |
An integer specifying the length of each data subset. |
K |
An integer specifying the number of nodes. |
A list with the following components:
List of estimated loading matrices for the first-stage components for each node.
List of estimated loading matrices for the second-stage components for each node.
List of diagonal residual variance matrices for each node.
List of covariance matrices of reconstructed data for each node.
set.seed(123)
data <- matrix(rnorm(500), nrow = 100, ncol = 5)
DGaoPC(data = data, m = 3, n1 = 20, K = 5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.