make_tab1 | R Documentation |
Create a nicely formatted table for variables of interest.
make_tab1(
data,
grp_var,
all = TRUE,
select = c(),
labs = FALSE,
fmt_labs = c()
)
data |
dataset that contains the variables of interest |
grp_var |
name of grouping variable for data summary calculation as a string |
all |
boolean to indicate whether select all variables from the dataset |
select |
list of variables names to be selected from the dataset in strings |
labs |
boolean to indicate whether customized labels are being used in the table |
fmt_labs |
list of customized labels either in strings or in formula format |
none
make_tab1(ggplot2::diamonds, "cut")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.