tab_grp <- grouped_table(df, group)
tab_grp$categoricals %>% dplyr::mutate_if(is.numeric, signif, 3) %>% knitr::kable() %>% kableExtra::kable_styling(bootstrap_options = "striped", full_width = F)
Variables mean and (sd) is presented by group
tab_grp$quantitatives %>% dplyr::mutate_if(is.numeric, signif, 3) %>% knitr::kable() %>% kableExtra::kable_styling(bootstrap_options = "striped", full_width = F)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.