acceptable_formula | R Documentation |
Uses an S3 method to check that a given formula can be parsed based on its class. It currently scans for contrasts that are not supported and in-line functions. (e.g: lm(wt ~ as.factor(am))). Since this function is meant for function interaction, as opposed to human interaction, a successful check is silent.
acceptable_formula(model)
model |
An R model object |
model <- lm(mpg ~ wt, mtcars) acceptable_formula(model)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.