Diffogram: Plot Pairwise Differences

View source: R/Diffogram.R

DiffogramR Documentation

Plot Pairwise Differences

Description

Plot pairwise differences by a common method.

Usage

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

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

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.

Value

no return value, but a plot on the current device

Author(s)

Kyun-Seop Bae k@acr.kr

See Also

LSM, PDIFF

Examples

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

sasLM documentation built on June 15, 2026, 9:07 a.m.