View source: R/find_statistic.R
find_statistic | R Documentation |
Returns the statistic for a regression model (t-statistic, z-statistic, etc.).
Small helper that checks if a model is a regression model object and return the statistic used.
find_statistic(x, ...)
x |
An object. |
... |
Currently not used. |
A character describing the type of statistic. If there is no
statistic available with a distribution, NULL
will be returned.
# regression model object
data(mtcars)
m <- lm(mpg ~ wt + cyl + vs, data = mtcars)
find_statistic(m)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.