Description Usage Arguments Value
magic_table_numeric
creates a magic table object from a data.frame-type object when
the input variables are a set of numeric variables.
1 2 3 |
dataset |
a data.frame object, or object that can be coerced to a data.frame. |
vars |
a vector of character strings containing the names of the variables for which summary statistics should be computed. |
var_labels |
a vector of character strings containing the labels for the variables
contained in |
stat_func |
a function for calculating the summary statistics for the variables specified in |
condvar_wide |
a character string indicating a variable in |
condvar_wide_labels |
a character vector containing the labels for the different values
of |
condvar_long |
a character string indicating a variable in |
condvar_long_labels |
a character vector containing the labels for the different values
of |
... |
additional variables to be passed to |
categorical |
a logical value indicating whether |
a list containing tables of summary statistics for the specified variables.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.