Learn R Programming

sasLM (version 0.9.2)

e1: Get a Contrast Matrix for Type I SS

Description

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

Usage

e1(Formula, Data, eps=1e-8)

Value

A contrast matrix for type I SS.

Arguments

Formula

a conventional formula for a linear model

Data

a data.frame to be analyzed

eps

Less than this value is considered as zero.

Author

Kyun-Seop Bae k@acr.kr

Details

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

Examples

Run this code
  round(e1(uptake ~ Plant + Type + Treatment + conc, CO2), 12)

Run the code above in your browser using DataLab