| factorComp {iNZightRegression} | R Documentation |
Computes confidence intervals for the pairwise differences between levels
of a factor, based off of stats::TukeyHSD.
factorComp(fit, factor) ## S3 method for class 'inzfactorcomp' print(x, ...)
fit |
a lm/glm/svyglm object |
factor |
the name of the factor to compare |
x |
an |
... |
extra arguments for print (ignored) |
a factor level comparison object with estimates, CIs, and (adjusted) p-values
print(inzfactorcomp): print method for object of class inzfactorcomp
Tom Elliott
f <- lm(Sepal.Length ~ Sepal.Width + Species, data = iris) factorComp(f, "Species")