Description Usage Arguments Value Examples
View source: R/twoStageiLCA.rank.R
Two-staged decomposition of several matrices with Independent LCA, twoStageLCA is first performed on the data, the rank selection procedure is automatic based on BEMA. Then, fastICA is implemented on the score to extract the independent components.
1 2 3 4 5 6 7 8 9 10 11 |
dataset |
A list of dataset to be analyzed |
group |
A list of grouping of the datasets, indicating the relationship between datasets |
weighting |
Weighting of each dataset, initialized to be NULL |
total_number |
Total number of components will be extracted, if default value is set to NA, then BEMA will be used. |
threshold |
The threshold used to cutoff the eigenvalues |
backup |
A backup variable, which permits the overselection of the components by BEMA |
plotting |
A boolean value to determine whether to plot the scree plot or not, default to be False |
proj_dataset |
The datasets to be projected on |
proj_group |
The grouping of projected data sets |
A list contains the component and the score of each dataset on every component after twoStageiLCA.rank algorithm
1 2 3 4 5 6 7 | dataset = list(matrix(runif(5000, 1, 2), nrow = 100, ncol = 50),
matrix(runif(5000, 1, 2), nrow = 100, ncol = 50),
matrix(runif(5000, 1, 2), nrow = 100, ncol = 50),
matrix(runif(5000, 1, 2), nrow = 100, ncol = 50))
group = list(c(1, 2, 3, 4), c(1, 2), c(3, 4), c(1, 3), c(2, 4), c(1), c(2), c(3), c(4))
threshold = c(3, 1.5, 1.5, 1.5, 1.5, 0.5, 0.5, 0.5, 0.5)
res_twoStageiLCA.rank = twoStageiLCA.rank(dataset, group, threshold = threshold)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.