powered by
A convenience function for univariate testing via z- and t-tests of estimated model coefficients
cftest(model, parm, test = univariate(), ...)
An object of class summary.glht.
summary.glht
a fitted model.
a vector of parameters to be tested, either a character vector of names or an integer.
a function for computing p values, see summary.glht.
additional arguments passed to summary.glht.
The usual z- or t-tests are tested without adjusting for multiplicity.
coeftest
lmod <- lm(dist ~ speed, data = cars) summary(lmod) cftest(lmod)
Run the code above in your browser using DataLab