Cross Table PreinvasiveComponent
mydata %>% summary_factorlist(dependent = 'PreinvasiveComponent', explanatory = explanatory, # column = TRUE, total_col = TRUE, p = TRUE, add_dependent_label = TRUE, na_include=FALSE # catTest = catTestfisher ) -> table knitr::kable(table, row.names = FALSE, align = c('l', 'l', 'r', 'r', 'r'))
\pagebreak
table1 <- arsenal::tableby(PreinvasiveComponent ~ explanatory, mydata) summary(table1) knitr::kable(table1, row.names = FALSE, align = c('l', 'l', 'r', 'r', 'r', 'r'), format = 'html') %>% kableExtra::kable_styling(kable_input = ., bootstrap_options = 'striped', full_width = F, position = 'left')
\pagebreak
tangram::tangram(PreinvasiveComponent ~ explanatory, mydata)
\pagebreak
tangram::html5(tangram::tangram(PreinvasiveComponent ~ explanatory, mydata), fragment = TRUE, inline = 'nejm.css', caption = 'Cross TablePreinvasiveComponentNEJM Style', id = 'tbl3')
\pagebreak
tangram::html5(tangram::tangram(PreinvasiveComponent ~ explanatory, mydata), fragment = TRUE, inline = 'lancet.css', caption = 'Cross TablePreinvasiveComponentLancet Style', id = 'tbl3')
\pagebreak
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.