print.optbin {optbin} | R Documentation |
Printing Optimal Bins
Description
print
method for class optbin
.
Usage
## S3 method for class 'optbin'
print(x, ...)
Arguments
x |
an object of class |
... |
generic arguments (ignored) |
Details
Shows the upper bounds of each bin, ie. bin b covers threshold[b-1] < x <= threshold[b] where threshold[0] is -Inf. Also prints the total (mean) squared error sum over all bins.
Value
The argument x unchanged, an object of class 'optbin' with components:
x |
the original data, sorted |
numbins |
the number of bins created |
call |
argument values when function called |
metric |
cost function used to select best partition |
minse |
value of SE/MSE metric for all bins |
thr |
upper threshold of bin range, inclusive |
binavg |
average of values in each bin |
binse |
value of SE/MSE metric for each bin |
breaks |
positions of endpoint (inclusive) of each bin in x |
See Also
[Package optbin version 1.3 Index]