print method for class optbin.
# S3 method for optbin
print(x, ...)The argument x unchanged, an object of class 'optbin' with components:
the original data, sorted
the number of bins created
argument values when function called
cost function used to select best partition
value of SE/MSE metric for all bins
upper threshold of bin range, inclusive
average of values in each bin
value of SE/MSE metric for each bin
positions of endpoint (inclusive) of each bin in x
an object of class optbin.
generic arguments (ignored)
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.
optbin, summary.optbin