Learn R Programming

spsurvey (version 4.1.4)

isotonic: Internal Function: Isotonic Regression

Description

This function performs isotonic regression of an input set of values so that the output set of values is a nondecreasing sequence. The output set of values is truncated to the range: [minval, maxval].

Usage

isotonic(y, minval, maxval)

Arguments

y

Vector of the set of values on which to perform isotonic regression.

minval

Minimum value for the output set of values.

maxval

Maximum value for the output set of values.

Value

The revised set of input values

Other Functions Required: sorted - determine whether a set of values is a nondecreasing sequence

Other Functions Required

sorted

determines whether a set of values is a nondecreasing sequence