Description Usage Arguments Value
make_table
takes the output from a call to survey_table
and
formats it using the flextable
package.
1 2 | make_table(tables, var_labels, stat_labels, condvar_wide_labels = NULL,
condvar_long_labels = NULL)
|
tables |
a list of tables of summary statistics. Should be the
output from a call to |
var_labels |
a vector of character strings containing the labels for the variables. |
stat_labels |
a vector of character strings containing the labels for the summary statistics, e.g. "Mean", "SD". |
condvar_wide_labels |
a vector of character strings containing the labels for the "wide" conditioning variable, e.g. "Baseline", "6 Months", "6 Month-Baseline Difference". |
condvar_long_labels |
a vector of character strings containing the labels for the "long" conditioning variable, e.g. "No Treatment", "Treatment". |
a flextable object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.