TASCResult-class: Class "TASCResult"

TASCResult-classR Documentation

Class "TASCResult"

Description

A specialized class storing the results of a call to TASC.

Objects of this class

Objects of this class shouldn't be created directly. They are created implicitly by a call to TASC.

Slots

p.value:

The p-value of the statistical test for reliability of the trinarization.

intermediateSteps:

A matrix specifying the optimal step functions from which the trinarization was calculated. The number of rows corresponds to the number of step functions, and the number of columns is determined by the length of the input vector minus 2 (that is, the length of the step function corresponding to the input vector). From the first to the last row, the number of steps increases. The non-zero entries of the matrix represent the locations of the steps. Step functions with fewer steps than the input step function have entries set to zero.

intermediateHeights1:

A matrix giving the jump heights of the steps supplied in intermediateSteps for the first threshold.

intermediateHeights2:

A matrix giving the jump heights of the steps supplied in intermediateSteps for the second threshold.

intermediateStrongestSteps:

A matrix with one row for each step function (row) in intermediateSteps. The entries specify the location of the two strongest steps for each of the functions.

originalMeasurements:

A numeric vector storing the input measurements.

trinarizedMeasurements:

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

threshold1:

The threshold that separates 0 from 1.

threshold2:

The threshold that separates 1 from 2.

method:

A string describing the trinarization method that yielded the result.

Extends

Class "TrinarizationResult", directly.

Methods

plotStepFunctions

signature(x = "TASCResult"): Plot the intermediate optimal step functions used to determine the thresholds.

print

signature(x = "TASCResult"): Print a summary of the trinarization.

show

signature(object = "TASCResult"): ...

See Also

TASC, TrinarizationResult


BiTrinA documentation built on Oct. 2, 2023, 5:07 p.m.