e2: Get a Contrast Matrix for Type II SS

View source: R/e2.R

e2R 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

A value less than this is considered zero.

Details

It makes a contrast matrix for Type II SS. If zapsmall is used, the result becomes less accurate.

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)

sasLM documentation built on June 15, 2026, 9:07 a.m.