View source: R/get_statistic.R
get_statistic | R Documentation |
Returns the statistic (t, z
, ...) for model
estimates. In most cases, this is the related column from
coef(summary())
.
get_statistic(x, ...)
## Default S3 method:
get_statistic(x, column_index = 3, verbose = TRUE, ...)
## S3 method for class 'glmmTMB'
get_statistic(x, component = "all", ...)
## S3 method for class 'emmGrid'
get_statistic(x, ci = 0.95, adjust = "none", merge_parameters = FALSE, ...)
## S3 method for class 'gee'
get_statistic(x, robust = FALSE, ...)
x |
A model. |
... |
Currently not used. |
column_index |
For model objects that have no defined
|
verbose |
Toggle messages and warnings. |
component |
String, indicating the model component for which parameters
should be returned. The default for all models is
|
ci |
Confidence Interval (CI) level. Default to |
adjust |
Character value naming the method used to adjust p-values or
confidence intervals. See |
merge_parameters |
Logical, if |
robust |
Logical, if |
A data frame with the model's parameter names and the related test statistic.
data(mtcars)
m <- lm(mpg ~ wt + cyl + vs, data = mtcars)
get_statistic(m)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.