Description Usage Arguments Examples
Generate a column of means and standard deviations
1 | textablr_mean_col(data, var_labels, group_var = NULL, group_condition = NULL)
|
data |
the data |
var_labels |
named vector of variable labels. This is required For example, to get summaries of the 'educ' variable 'Education' and the 'expr' variable 'Experience' make this 'c("Education" = "educ", "Experience" = "expr")' Note: this also sets the order of variables in the table |
group_var |
the variable (if any) to group on |
group_condition |
the filter on the group_var |
1 2 | mtcars_var_labels <- c("MPG" = "mpg", "Displacement" = "disp", "Horse Power (?)" = "hp")
textablr_mean_col(mtcars, var_labels = mtcars_var_labels, group_var = "cyl", group_condition = 4)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.