get_rlist {rrda}R Documentation

Generate rank-specific matrices by combining the left and right components.

Description

Generate rank-specific matrices by combining the left and right components of the coefficeint Bhat. In our formula, Bhat is stored as LeftBhatlambda_k (the left component vectors, p times r matrix) and RightBhatlambda_k (the right component vectors, q times r) for each lambda value. Here, n is the number of samples, p is the number of variables of X, q is the number of variables of Y, and r is the specified rank in the Ridge Redundancy Analysis.

Usage

get_rlist(LV, RV, nrank)

Arguments

LV

A numeric matrix of the left component vectors.

RV

A numeric matrix of the right component vectors.

nrank

A numeric vector indicating the rank(s) of Bhat.

Value

A list of matrices of rank-specific combinations of LV and RV.


[Package rrda version 0.1.1 Index]