1 min read

vtree 使用技巧

They can be easier to understand than contingency tables, especially when there are more than two variables. cran

很好的替代了列联表

library(vtree)
## Warning: 程辑包'vtree'是用R版本3.6.3 来建造的
FakeDataFig <- vtree(FakeData, "Severity Sex", horiz = FALSE)
# grVizToPNG(FakeDataFig)
FakeDataFig

# Argument must be of class htmlwidget.