powered by
Estimates pairwise differences by a common method.
PDIFF(Formula, Data, Term, conf.level=0.95, adj="lsd", ref, PLOT=FALSE, reverse=FALSE, ...)
Returns a table of expectations, t values and p-values. Output columns may vary according to the adjustment option.
point estimate of the input linear contrast
lower confidence limit
upper confidence limit
standard error of the point estimate
value for t distribution
degree of freedom
probability of larger than absolute t value from t distribution with residual's degree of freedom
a conventional formula for a linear model
a data.frame to be analyzed
data.frame
a factor name to be estimated
confidence level of confidence interval
"lsd", "tukey", "scheffe", "bon", "duncan", or "dunnett" to adjust p-value and confidence limit
reference or control level for Dunnett test
whether to plot or not the diffogram
reverse A - B to B - A
arguments to be passed to plot
plot
Kyun-Seop Bae k@acr.kr
It corresponds to PDIFF option of SAS PROC GLM.
LSM, Diffogram
LSM
Diffogram
PDIFF(uptake ~ Type*Treatment + as.factor(conc), CO2, "as.factor(conc)") PDIFF(uptake ~ Type*Treatment + as.factor(conc), CO2, "as.factor(conc)", adj="tukey")
Run the code above in your browser using DataLab