explicit.lm | R Documentation |
A function to transform an lm model formula to its explicit form. This is useful when you want to use stats::drop1 to drop additional terms in interaction models.
## S3 method for class 'lm'
explicit(fit)
fit |
An object of class "lm" |
A model with explicit formula
add1
iris.model <- lm(Sepal.Width ~ Sepal.Length*Petal.Width, data=iris)
explicit(iris.model)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.