cftest | R Documentation |
A convenience function for univariate testing via z- and t-tests of estimated model coefficients
cftest(model, parm, test = univariate(), ...)
model |
a fitted model. |
parm |
a vector of parameters to be tested, either a character vector of names or an integer. |
test |
a function for computing p values, see |
... |
additional arguments passed to |
The usual z- or t-tests are tested without adjusting for multiplicity.
An object of class summary.glht
.
coeftest
lmod <- lm(dist ~ speed, data = cars)
summary(lmod)
cftest(lmod)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.