Learn R Programming

infoDecompuTE (version 0.5.1)

getVcCoefMS.twoPhase: Get Variance Components' Coefficients and Mean Squares for Two-Phase Experiments

Description

Construct a matrix contain the coefficients of the variance componenets of two-phase experiments. The mean squares is calculated is the response arguement is used.

Usage

getVcCoefMS.twoPhase(PNTginvATNP, design.df, v.mat, response, table.legend)

Arguments

PNTginvATNP
a list of matrix from the blkProkMat function.
design.df
a data frame containing the design of the experiment. Every column must be factors.
v.mat
a list of matrix from the getVMat.twoPhase function.
response
a numeric vector contains the responses from the experiment.
table.legend
a logical allows the users to use the legend for the variance components of the ANOVA table for a large design. Default is FALSE, which uses the original names.

Value

This function returns a matrix.