Last data update: 2014.03.03

R: Provides typical descriptive statistics for data frame
varDescribeR Documentation

Provides typical descriptive statistics for data frame

Description

Provides three levels of detail regarding descriptive statistics for a data frame. Based on describe() function from psych package

Usage

varDescribe(Data, Detail = 2, Digits=2)

Arguments

Data

a data frame

Detail

Indicates level of detail for descriptives, 1=minimal, 2=typical (default), 3= detailed

Digits

Number of decimal places to display; NULL = display all sig digits. Default =2.

Value

Returns table with descriptive statistics rounded to digits.

Author(s)

John J. Curtin jjcurtin@wisc.edu

See Also

describe lm.describeGroups describe.by

Examples

varDescribe(Ornstein)
varDescribe(Ornstein, Detail=3)
varDescribe(Ornstein, Detail=2, Digits=1)

Results