powered by
A specialized visualization that plots all the optimal step functions computed by the BASC algorithms or TASC.
plotStepFunctions(x, showLegend=TRUE, connected=FALSE, withOriginal=TRUE, ...)
A binarization (or trinarisation) result object of class BASCResult (TASCResult).
BASCResult
TASCResult
If TRUE, a legend is included in the plot.
TRUE
If TRUE, the single steps of the step functions are connected by lines.
If set to TRUE, the original step function (i.e. the sorted input vector) is included in the plot.
Additional graphical parameters to be passed to plot.
plot
BASCResult, binarize.BASC, TASCResult, TASC
binarize.BASC
TASC
result <- binarize.BASC(iris[,"Petal.Width"], method="B") plotStepFunctions(result) result <- TASC(iris[,"Petal.Width"]) plotStepFunctions(result)
Run the code above in your browser using DataLab