getTheta: Extract Theta from decomposition of GxE residual matrix from...

Description Usage Arguments Details Value Examples

View source: R/getTheta.R

Description

Calculate dimension reduction of kth degree

Usage

1
getTheta(k, Edecomp)

Arguments

k

number of PCs, k in 0, 1, ..., M.

Edecomp

decomposition of GxE residual matrix from additive

Details

Theta: matrix of dimension k, from decomposition of GxE residual

Value

Returns the matrix Theta of dimension k

Examples

1
2
3
data(soyMeanMat)
decomp <- bdecomp(soyMeanMat, "AMMI")
getTheta(k = 2, decomp$Edecomp)

nsantantonio/Bilinear documentation built on Aug. 18, 2020, 2:31 p.m.