Description Usage Arguments Examples
This function wraps use of data.table(), stat.desc() and helpful data reshaping courtesy of reshape2.
1 2 | getSlicedStats(data, vars, slice.vars, stats = c("mean", "SE.mean",
"nbr.val"))
|
data |
This is the data frame that will be operated on |
vars |
Variables to summarize |
slice.vars |
Vector of variables which subset the data set |
stats |
Statistics to calculate. The valid list of values comes from the stat.desc() function |
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.