newbroom: Tidy Tables for htest objects

Description Usage Arguments Value See Also Examples

View source: R/helpers.R

Description

Produces tidy tibbles of results from htest objects. This is a vastly reduced version of the tidy.htest function from package broom

Usage

1

Arguments

x

An 'htest' object, such as those created by [stats::cor.test()], [stats::t.test()], [stats::wilcox.test()], [stats::chisq.test()], etc.

Value

An object of class "tibble".

See Also

[stats::t.test()], [stats::oneway.test()] [stats::wilcox.test()], [stats::chisq.test()]

Examples

1
2
chit <- chisq.test(xtabs(Freq ~ Sex + Class, data = as.data.frame(Titanic)))
CGPfunctions:::newbroom(chit)

CGPfunctions documentation built on Nov. 12, 2020, 5:08 p.m.