For models that have only a single component, the tidy()
and
glance()
methods are identical. Please see the documentation for both
of those methods.
# S3 method for leveneTest
tidy(x, ...)
An object of class anova
created by a call to
car::leveneTest()
.
Additional arguments. Not used. Needed to match generic
signature only. Cautionary note: Misspelled arguments will be
absorbed in ...
, where they will be ignored. If the misspelled
argument has a default value, the default value will be used.
For example, if you pass conf.lvel = 0.9
, all computation will
proceed using conf.level = 0.95
. Additionally, if you pass
newdata = my_tibble
to an augment()
method that does not
accept a newdata
argument, it will use the default value for
the data
argument.
tidy()
, glance()
, car::leveneTest()
Other car tidiers:
durbinWatsonTest_tidiers
A tibble::tibble()
with columns:
Degrees of freedom used by this term in the model.
The two-sided p-value associated with the observed statistic.
The value of a T-statistic to use in a hypothesis that the regression term is non-zero.
Residual degrees of freedom.
# feel free to ignore the following line—it allows {broom} to supply
# examples without requiring the model-supplying package to be installed.
if (requireNamespace("car", quietly = TRUE)) {
# load libraries for models and data
library(car)
data(Moore)
lt <- with(Moore, leveneTest(conformity, fcategory))
tidy(lt)
glance(lt)
}
#> Warning: Data frame tidiers are deprecated and will be removed in an upcoming release of broom.
#> # A tibble: 1 × 4
#> nrow ncol complete.obs na.fraction
#> <int> <int> <int> <dbl>
#> 1 2 3 1 0.333