Learn R Programming

sasLM (version 0.6.0)

Diffogram: Plot Pairwise Differences

Description

Plot pairwise differences by a common.

Usage

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

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

Title

If missing, default title will be displayed.

...

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.

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