glance.levene: Glance at a 'levene' object

Description Usage Arguments Value See Also Examples

View source: R/levene.R

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

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

Arguments

x

a levene object returned from levene_test()

...

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

Value

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

See Also

levene_test()

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
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

cmstatr documentation built on Sept. 30, 2021, 5:08 p.m.