newbroom {CGPfunctions} | R Documentation |
Tidy Tables for htest objects
Description
Produces tidy tibbles of results from htest objects. This is a vastly reduced version of the tidy.htest function from package broom
Usage
newbroom(x)
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
chit <- chisq.test(xtabs(Freq ~ Sex + Class, data = as.data.frame(Titanic)))
CGPfunctions:::newbroom(chit)
[Package CGPfunctions version 0.6.3 Index]