Learn R Programming

DDHFm (version 1.0-2.1)

isotone: 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

  • isotonethe regression results

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