Unlimited learning, half price | 50% off

Last chance! 50% off unlimited learning

Sale ends in


sasLM (version 0.9.2)

aov2: ANOVA with Type II SS

Description

ANOVA with Type II SS.

Usage

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

Value

The result table is comparable to that of SAS PROC ANOVA.

Df

degree of freedom

Sum Sq

sum of square for the set of contrasts

Mean Sq

mean square

F value

F value for the F distribution

Pr(>F)

proability of larger than F value

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 performs the core function of SAS PROC ANOVA.

Examples

Run this code
  aov2(uptake ~ Plant + Type + Treatment + conc, CO2)
  aov2(uptake ~ Type, CO2)
  aov2(uptake ~ Type - 1, CO2)

Run the code above in your browser using DataLab