Description Usage Arguments Details Value Author(s)
View source: R/getCoefVC.twoPhase.R
Compute the variance components' coefficients and corresponding to random
effects in the expected mean squares of ANOVA table in single-phase or
two-phase experiments. These coefficients are then inserted to a matrix
where the rows correspond to each source of variation and column correspond
to DF and every variance component. The mean squares is calculated if the
response
argument is used.
1 2 3 4 5 6 7 8 9 | getCoefVC.twoPhase(
Pb,
design.df,
v.mat,
response,
table.legend,
decimal,
digits
)
|
Pb |
a list of matrices generated by |
design.df |
a data frame containing the experimental design. Requires
every column be a |
v.mat |
a list of matrix generated by |
response |
a numeric vector contains the responses from the experiment. |
table.legend |
a logical allows users to generate a legend for the
variance components of the ANOVA table for large designs. Default is
|
decimal |
a logical allows users to display the coefficients as the
decimals. Default is |
digits |
a integer indicating the number of decimal places. Default is 2, resulting in 2 decimal places. |
The main purpose of this function is to combine the matrices presenting every source of variation of the ANOVA table and the variance matrix to compute the coefficients of the variance components.
The complication arise in giving the row names of the matrix for the source of variation in the ANOVA table.
A matrix containing the characters.
Kevin Chang
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.