Usage Arguments Value See Also Examples
1 2 3 | all.factors(object, data)
all.covars(object,data)
all.predictors(object, data)
|
object |
object from linear model fit |
data |
data frame in which to interpret the variables named inthe full and reduced objects (determined from reduced fit if omitted) |
list of names of factors, covariates or predictors (factors \& covariates) or response used in model fit
1 2 3 4 5 6 7 8 9 10 11 12 | ## Not run:
fit <- lm(y~x+a*b,data)
# return c("a","b")
all.factors(fit)
# return "x"
all.covars(fit)
# return c("x","a","b")
all.predictors(fit)
# return "y"
model.response(fit)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.