TrinarizationResult-class {Binarize} | R Documentation |

## Class "TrinarizationResult"

### Description

This is the base class for objects that store the results of a trinarization algorithm. It defines the slots and methods that the results of all algorithms share.

### Objects of this class

Objects of this class shouldn't be created directly. They are created implicitly by a call to one of the trinarizeation algorithms.

### Slots

`originalMeasurements`

:A numeric vector storing the input measurements.

`trinarizedMeasurements`

:An integer vector of trinarized values (0 or 1 or 2) corresponding to the original measurements.

`threshold1`

:The threshold that separates 0 and 1.

`threshold2`

:The threshold that separates 1 and 2.

`method`

:A string describing the trinarization method that yielded the result.

`p.value`

:The p-value obtained by a test for validity of the trinarization (e.g. TASC bootstrap test). If no test was performed, this is `NA`

.

### Methods

- plot
`signature(x = "TrinarizationResult")`

: Plot the trinarization and the thresholds.

- print
`signature(x = "TrinarizationResult")`

: Print a summary of the trinarization.

- show
`signature(object = "TrinarizationResult")`

: ...

### See Also

`TASC`

,
`TASCResult`

,

[Package

*Binarize* version 1.3

Index]