e1 {sasLM}R Documentation

Get a Contrast Matrix for Type I SS

Description

Makes a contrast matrix for type I SS using forward Doolittle method.

Usage

  e1(XpX, eps=1e-8)

Arguments

XpX

crossprodut of a design or model matrix. This should have appropriate column names.

eps

Less than this value is considered as zero.

Details

It makes a contrast matrix for type I SS. If zapsmall is used, the result becomes more inaccurate.

Value

A contrast matrix for type I SS.

Author(s)

Kyun-Seop Bae k@acr.kr

Examples

  x = ModelMatrix(uptake ~ Plant + Type + Treatment + conc, CO2)
  round(e1(crossprod(x$X)), 12)

[Package sasLM version 0.10.4 Index]