e2 {sasLM} | R Documentation |
Get a Contrast Matrix for Type II SS
Description
Makes a contrast matrix for type II SS.
Usage
e2(x, eps=1e-8)
Arguments
x |
an output of ModelMatrix |
eps |
Less than this value is considered as zero. |
Details
It makes a contrast matrix for type II SS. If zapsmall is used, the result becomes more inaccurate.
Value
A contrast matrix for type II SS.
Author(s)
Kyun-Seop Bae k@acr.kr
Examples
round(e2(ModelMatrix(uptake ~ Plant + Type + Treatment + conc, CO2)), 12)
round(e2(ModelMatrix(uptake ~ Type, CO2)), 12)
round(e2(ModelMatrix(uptake ~ Type - 1, CO2)), 12)
[Package sasLM version 0.10.4 Index]