isotone: Performs Isotone regression using "pool-adjacent-violators"...

isotoneR Documentation

Performs Isotone regression using "pool-adjacent-violators" algorithm

Description

It is applied in order to estimate the h() function in the Data-Driven Haar-Fisz algorithm

Usage

isotone(x, wt = rep(1, length(x)), increasing = FALSE, Ccode=TRUE)

Arguments

x

the vector that will be fitted with the regression

wt

a vector of weights

increasing

if TRUE the curve is set to be increasing, else FALSE

Ccode

if TRUE then faster C code is used rather than R

Value

isotone

the regression results

Author(s)

Bernard Silverman, with C modifications by GPN

References

Johnstone, I.M. and Silverman, B.W. (2005), EbayesThresh: R and S-Plus programs for empirical Bayes thresholding, Journal of Statistical Software, to appear


DDHFm documentation built on Oct. 4, 2024, 5:11 p.m.