Learn R Programming

sasLM (version 0.6.6)

Diffogram: Plot Pairwise Differences

Description

Plot pairwise differences by a common.

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 confidence interval

adj

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

...

arguments to be passed to plot

Value

no return value, but a plot on the current device

Details

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

See Also

LSM, PDIFF

Examples

Run this code
# NOT RUN {
  Diffogram(uptake ~ Type*Treatment + as.factor(conc), CO2, "as.factor(conc)")
# }

Run the code above in your browser using DataLab