View source: R/is_model_supported.R
is_model_supported | R Documentation |
Small helper that checks if a model is a supported
(regression) model object. supported_models()
prints a list
of currently supported model classes.
is_model_supported(x)
supported_models()
x |
An object. |
This function returns TRUE
if x
is a model object that works with the
package's functions. A list of supported models can also be found here:
https://github.com/easystats/insight.
A logical, TRUE
if x
is a (supported) model object.
data(mtcars)
m <- lm(mpg ~ wt + cyl + vs, data = mtcars)
is_model_supported(m)
is_model_supported(mtcars)
# to see all supported models
supported_models()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.