It is applied in order to estimate the h() function in the Data-Driven Haar-Fisz algorithm
isotone(x, wt = rep(1, length(x)), increasing = FALSE, Ccode=TRUE)
the regression results
the vector that will be fitted with the regression
a vector of weights
if TRUE the curve is set to be increasing, else FALSE
if TRUE then faster C code is used rather than R
Bernard Silverman, with C modifications by GPN
Johnstone, I.M. and Silverman, B.W. (2005), EbayesThresh: R and S-Plus programs for empirical Bayes thresholding, Journal of Statistical Software, to appear