Learn R Programming

sasLM (version 1.0.1)

Diffogram: Plot Pairwise Differences

Description

Plot pairwise differences by a common method.

Usage

Diffogram(Formula, Data, Term, conf.level=0.95, adj="lsd", ...)

Value

no return value, but a plot on the current device

Arguments

Formula

a conventional formula for a linear model

Data

a data.frame to be analyzed

Term

a factor name to be estimated

conf.level

confidence level of the confidence interval

adj

"lsd", "tukey", "scheffe", "bon", or "duncan" to adjust p-value and confidence limit

...

arguments to be passed to plot

Author

Kyun-Seop Bae k@acr.kr

Details

This usually shows the shortest interval. It corresponds to the PDIFF option of SAS PROC GLM. For the adjustment method "dunnett", see the PDIFF function.

See Also

LSM, PDIFF

Examples

Run this code
  Diffogram(uptake ~ Type*Treatment + as.factor(conc), CO2, "as.factor(conc)")

Run the code above in your browser using DataLab