powered by
Estimates pairwise difference by least signicicant difference.
PDIFF(Formula, Data, Term, conf.level=0.95)
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
Returns a table of expectations, t values and p-values.
point estimate of the input linear constrast
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
This usually shows the shortest interval. It corresponds to SAS PROC GLM PDIFF. Interaction of three variables is not supported yet.
# NOT RUN { PDIFF(uptake ~ Type*Treatment + as.factor(conc), CO2, "as.factor(conc)") # }
Run the code above in your browser using DataLab