powered by
This function performs distributed Fan-type principal component analysis on a numeric dataset split across multiple nodes.
DFanPC(data, m, n1, K)
A list with the following components:
List of estimated loading matrices for each node.
List of diagonal residual variance matrices for each node.
List of covariance matrices for each node.
A numeric matrix containing the total dataset.
An integer specifying the number of principal components.
An integer specifying the length of each data subset.
An integer specifying the number of nodes.
set.seed(123) data <- matrix(rnorm(500), nrow = 100, ncol = 5) DFanPC(data = data, m = 3, n1 = 20, K = 5)
Run the code above in your browser using DataLab