leveneTest_tidiers: Tidy/glance a(n) leveneTest object

leveneTest_tidiersR Documentation

Tidy/glance a(n) leveneTest object

Description

For models that have only a single component, the tidy() and glance() methods are identical. Please see the documentation for both of those methods.

Usage

## S3 method for class 'leveneTest'
tidy(x, ...)

Arguments

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. Two exceptions here are:

  • tidy() methods will warn when supplied an exponentiate argument if it will be ignored.

  • augment() methods will warn when supplied a newdata argument if it will be ignored.

Value

A tibble::tibble() with columns:

df

Degrees of freedom used by this term in the model.

p.value

The two-sided p-value associated with the observed statistic.

statistic

The value of a T-statistic to use in a hypothesis that the regression term is non-zero.

df.residual

Residual degrees of freedom.

See Also

tidy(), glance(), car::leveneTest()

Other car tidiers: durbinWatsonTest_tidiers

Examples



# load libraries for models and data
library(car)

data(Moore)

lt <- with(Moore, leveneTest(conformity, fcategory))

tidy(lt)
glance(lt)


broom documentation built on Aug. 30, 2022, 1:07 a.m.