getSlicedStats: Calculate multiple statistics for many variables and data...

Description Usage Arguments Examples

Description

This function wraps use of data.table(), stat.desc() and helpful data reshaping courtesy of reshape2.

Usage

1
2
getSlicedStats(data, vars, slice.vars, stats = c("mean", "SE.mean",
  "nbr.val"))

Arguments

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

Examples

1

nsmader/chstatsum documentation built on May 24, 2019, 7:50 a.m.