e1: Get a Contrast Matrix for Type I SS

View source: R/e1.R

e1R 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)

sasLM documentation built on Oct. 2, 2024, 9:06 a.m.