newbroom {CGPfunctions} | R Documentation |
Produces tidy tibbles of results from htest objects. This is a vastly reduced version of the tidy.htest function from package broom
newbroom(x)
x |
An 'htest' object, such as those created by [stats::cor.test()], [stats::t.test()], [stats::wilcox.test()], [stats::chisq.test()], etc. |
An object of class "tibble".
[stats::t.test()], [stats::oneway.test()] [stats::wilcox.test()], [stats::chisq.test()]
chit <- chisq.test(xtabs(Freq ~ Sex + Class, data = as.data.frame(Titanic)))
CGPfunctions:::newbroom(chit)