Learn R Programming

optbin (version 1.3)

summary.optbin: Summarizing Optimal Bins

Description

summary method for class optbin.

Usage

# S3 method for optbin
summary(object, show.range=FALSE, ...)

Value

Only called for side-effects (printing). There is no return value.

Arguments

object

an object of class optbin

show.range

if true then print the bin's range of points (endpoint inclusive) in the sorted data

...

generic arguments (ignored)

Details

Prints a table with the upper threshold (inclusive), the average of the data within the bin, and the (mean) squared error sum. show.range also adds a column with the start and end indices of the sorted data belonging to the bin, although this applies to the sorted list and is less useful in general.

See Also

optbin, print.optbin