Provides common desriptives for dataframe by factor(s)

Share:

Description

Provides commons descriptive statistics for a data frame split on some factor or combination of factors. Essentially a wrapper for varDescribe() and by().

Usage

1
varDescribeBy(Data, IVList)

Arguments

Data

a dataframe

IVList

list of one or more factors from data frame

Value

An object of class "by", giving the results from varDescribe() applied to each subset.

Author(s)

John J. Curtin jjcurtin@wisc.edu

Examples

1
varDescribeBy(Adler,list(Adler$expectation,Adler$instruction))

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.