produce a flextable describing an object oof class htest
.
htest object
unused argument
Other as_flextable methods: as_flextable()
, as_flextable.data.frame()
, as_flextable.gam()
, as_flextable.glm()
, as_flextable.grouped_data()
, as_flextable.kmeans()
, as_flextable.lm()
, as_flextable.merMod()
, as_flextable.pam()
, as_flextable.summarizor()
, as_flextable.table()
, as_flextable.tabular()
, as_flextable.tabulator()
, as_flextable.xtable()
if (require("stats")) {
M <- as.table(rbind(c(762, 327, 468), c(484, 239, 477)))
dimnames(M) <- list(
gender = c("F", "M"),
party = c("Democrat", "Independent", "Republican")
)
ft_1 <- as_flextable(chisq.test(M))
ft_1
}
statistic
p.value
parameter
method
30.1
0.0000***
2
Pearson's Chi-squared test
Signif. codes: 0 <= '***' < 0.001 < '**' < 0.01 < '*' < 0.05
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4