Skip to contents

Provides a five number summary for a data set.

Usage

# S3 method for data.frame
describeBoxes(frame, ...)

# S3 method for formula
describeBoxes(formula, ...)

Arguments

frame

a set of (non-empty) numeric vectors of data values

formula

a formula of the form lhs ~ rhs where lhs is a numeric variable giving the data values and rhs a factor giving the corresponding groups

main

a custom title for the table

digits

the specified number of decimal places

Value

The returned frame contains the following components:

LW

the lower whisker

LH

the lower hinge

Mdn

the median value

UH

the upper hinge

UW

the upper whisker