powered by
Computes confidence intervals for the pairwise differences between levels of a factor, based off of stats::TukeyHSD.
stats::TukeyHSD
factorComp(fit, factor)# S3 method for inzfactorcomp print(x, ...)
# S3 method for inzfactorcomp print(x, ...)
a factor level comparison object with estimates, CIs, and (adjusted) p-values
a lm/glm/svyglm object
the name of the factor to compare
an inzfactorcomp object
inzfactorcomp
extra arguments for print (ignored)
print(inzfactorcomp): print method for object of class inzfactorcomp
print(inzfactorcomp)
Tom Elliott
f <- lm(Sepal.Length ~ Sepal.Width + Species, data = iris) factorComp(f, "Species")
Run the code above in your browser using DataLab