get_individual_rank {RaJIVE}R Documentation

Individual Rank

Description

Gets the individual ranks from the Rajive decomposition

Usage

get_individual_rank(ajive_output, k)

Arguments

ajive_output

List. The decomposition from Rajive

k

Integer. The index of the data block.

Value

The individual ranks

Examples


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_individual_rank(ajive.results.robust, 2)


[Package RaJIVE version 1.0 Index]