Learn R Programming

RaJIVE (version 1.0)

get_block_loadings: Block Loadings

Description

Gets the block loadings from the Rajive decomposition

Usage

get_block_loadings(ajive_output, k, type)

Arguments

ajive_output

List. The decomposition from Rajive

k

Integer. The index of the data block

type

Character. Joint or individual

Value

The block loadings

Examples

Run this code
# NOT RUN {
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_loadings(ajive.results.robust, 2, 'joint')
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab