plotStepFunctions: Plot all step functions for BASC or TASC

Description Usage Arguments See Also Examples

Description

A specialized visualization that plots all the optimal step functions computed by the BASC algorithms or TASC.

Usage

1
2
3
4
5
plotStepFunctions(x, 
                  showLegend=TRUE, 
                  connected=FALSE, 
                  withOriginal=TRUE, 
                  ...)

Arguments

x

A binarization (or trinarisation) result object of class BASCResult (TASCResult).

showLegend

If TRUE, a legend is included in the plot.

connected

If TRUE, the single steps of the step functions are connected by lines.

withOriginal

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.

See Also

BASCResult, binarize.BASC, TASCResult, TASC

Examples

1
2
3
4
5
6
result <- binarize.BASC(iris[,"Petal.Width"], 
                        method="B")
plotStepFunctions(result)

result <- TASC(iris[,"Petal.Width"])
plotStepFunctions(result)

Binarize documentation built on May 30, 2017, 8:17 a.m.