powered by
Produces tidy tibbles of results from htest objects. This is a vastly reduced version of the tidy.htest function from package broom
newbroom(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()]
# NOT RUN { chit <- chisq.test(xtabs(Freq ~ Sex + Class, data = as.data.frame(Titanic))) CGPfunctions:::newbroom(chit) # }
Run the code above in your browser using DataLab