| glance.levene {cmstatr} | R Documentation |
Glance at a levene object
Description
Glance accepts an object of type levene and returns a
tibble::tibble() with
one row of summaries.
Glance does not do any calculations: it just gathers the results in a tibble.
Usage
## S3 method for class 'levene'
glance(x, ...)
Arguments
x |
a |
... |
Additional arguments. Not used. Included only to match generic signature. |
Value
A one-row tibble::tibble() with the following
columns:
-
alphathe value of alpha specified -
modcva logical value indicating whether the modified CV approach was used. -
nthe total number of observations -
kthe number of groups -
fthe value of the F test statistic -
pthe computed p-value -
reject_equal_variancea boolean value indicating whether the null hypothesis that all samples have the same variance is rejected
See Also
Examples
df <- data.frame(
groups = c(rep("A", 5), rep("B", 6)),
strength = c(rnorm(5, 100, 6), rnorm(6, 105, 7))
)
levene_result <- levene_test(df, strength, groups)
glance(levene_result)
## # A tibble: 1 x 7
## alpha modcv n k f p reject_equal_variance
## <dbl> <lgl> <int> <int> <dbl> <dbl> <lgl>
## 1 0.05 FALSE 11 2 0.0191 0.893 FALSE
[Package cmstatr version 0.9.3 Index]