makeOrthProjectors: Construct Orthogonal Projector Matrices In infoDecompuTE: Information Decomposition of Two-Phase Experiments

Description

Construct a list of orthogonal projector matrices corresponding to all strata of the experiment.

Usage

 `1` ```makeOrthProjectors(BlkDesList) ```

Arguments

 `BlkDesList` a list of block design matrices generated by `makeBlkDesMat`.

Details

The strata decomposition is performed within this function. The first step is to convert the list of block design matrices generated by `makeBlkDesMat` to projection matrices using `projMat`. The second step is to use these projection matrices to project the raw data vector from one stratum to next stratum of the experiment; the resulting matrix corresponds to each stratum is the orthogonal projector matrix of the given stratum.

Value

A list containing matrices.

Kevin Chang

Examples

 ``` 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15``` ```design1 <- local({ Ani = as.factor(LETTERS[c(1,2,3,4, 5,6,7,8)]) Trt = as.factor(letters[c(1,1,1,1, 2,2,2,2)]) data.frame(Ani, Trt) }) blk.str = "Ani" rT = terms(as.formula(paste("~", blk.str, sep = "")), keep.order = TRUE) blkTerm = attr(rT,"term.labels") Z = makeBlkDesMat(design1, blkTerm) Pb = makeOrthProjectors(Z) ```

infoDecompuTE documentation built on May 29, 2018, 9:05 a.m.