Learn R Programming

prettyR (version 2.2-3)

print.desc: Display descriptive stats output

Description

Displays a list of descriptive statistics produced by describe.

Usage

# S3 method for desc
print(x,ndec=2,...)

Arguments

x

a list of descriptive statistics produced by describe

ndec

The number of decimal places to display.

...

additional arguments passed to print

Value

nil

Details

print.desc displays the list of descriptive statistics produced by the describe function.

See Also

describe

Examples

Run this code
# NOT RUN {
 test.df<-data.frame(A=c(sample(1:10,99,TRUE),NA),C=sample(LETTERS,100,TRUE))
 test.desc<-describe(test.df)
 print(test.desc)
# }

Run the code above in your browser using DataLab