View source: R/supportFunc_lm.R
takes in data and determines the summary statistics (Mean & SD) and also compares the levels of the groups (binary) variable
1 2 | descriptiveStat(demo, groups, variables, paired = FALSE,
pairing = NULL)
|
demo |
is an (nxp) dataset |
groups |
specifies the column name of a binary variable in demo |
variables |
is a vector of column names to be compared between the 2 groups |
paired |
boolean (T/F) - default = FALSE (repeated measures or not) |
pairing |
is a column name that containing the pairing information |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.