Provides typical descriptive statistics for data frame

Share:

Description

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

Usage

1
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

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

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