Description Usage Arguments Value Examples
View source: R/Rajive_helpfunctions.R
Gets the block scores from the Rajive decomposition
1 | get_block_scores(ajive_output, k, type)
|
ajive_output |
List. The decomposition from Rajive |
k |
Integer. The index of the data block |
type |
Character. Joint or individual |
The block scores
1 2 3 4 5 6 7 8 | n <- 10
pks <- c(20, 10)
Y <- ajive.data.sim(K =2, rankJ = 2, rankA = c(7, 4), n = n,
pks = pks, dist.type = 1)
initial_signal_ranks <- c(7, 4)
data.ajive <- list((Y$sim_data[[1]]), (Y$sim_data[[2]]))
ajive.results.robust <- Rajive(data.ajive, initial_signal_ranks)
get_block_scores(ajive.results.robust, 2, 'joint')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.