Description Usage Arguments Details Value Author(s) See Also Examples
Meant to be used in creating R matrix to be exported as a table
1 |
data |
Data frame where nvar and gvar can be found |
nvar |
Character string of column in data of which means will be calculated |
gvar |
Character string of column in data of which means will be grouped by |
digits |
Number of decimals the numbers will be rounded to |
na.rm=TRUE is defaulted in the calculation of mean and SD
Returns a string of the format mean (SD) for each of the levels in gvar. If gvar is null then mean (SD) of nvar is provided.
University of Wisconsin-Madison Biostatistics and Medical Informatics Department, Scott Hetzel M.S.
medianFunc
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.