Description Usage Arguments Examples
For continuous variables, this function produces a table with the mean, SD, and N missing of each variable for each group, and a p-value for the Wilcoxon rank-sum test comparing groups (if group is specified)
1 |
df |
dataframe |
vars |
list of continuous variables to calculate |
group |
grouping categorical variable |
1 2 | data(airquality)
meanTab(airquality, c('Ozone', 'Temp', 'Wind'), group = 'Month')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.