glance.levene: Glance at a 'levene' object

View source: R/levene.R

glance.leveneR Documentation

Glance at a levene object


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.


## S3 method for class 'levene'
glance(x, ...)



a levene object returned from levene_test()


Additional arguments. Not used. Included only to match generic signature.


A one-row tibble::tibble() with the following columns:

  • alpha the value of alpha specified

  • modcv a logical value indicating whether the modified CV approach was used.

  • n the total number of observations

  • k the number of groups

  • f the value of the F test statistic

  • p the computed p-value

  • reject_equal_variance a boolean value indicating whether the null hypothesis that all samples have the same variance is rejected

See Also



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)

## # 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

cmstatr documentation built on Sept. 9, 2023, 9:06 a.m.