[R] monotone spline

Martin Maechler maechler at stat.math.ethz.ch
Mon Oct 6 09:01:20 CEST 2003


>>>>> "alessandro" == alessandro ambrosi <ale.ambrosi at unipd.it>
>>>>>     on Sun, 05 Oct 2003 22:53:37 +0200 writes:

    alessandro> Hi all!

    alessandro> I have a simple question and I hope someone can
    alessandro> give me some hints.  I have to fit a constrained
    alessandro> nonparametric model. More specifically what to
    alessandro> do is fiting a monotone spline.  Can someone
    alessandro> suggest me a (hopely easy :-) ) way or some
    alessandro> references to do this with R.  I had a look at
    alessandro> the R packages but I didn't find any function to
    alessandro> do this.

You should learn to use  help.search()
    {yes, everyone, even if you prefer the HTML help pages!!}

In this case, even if you only have the default packages
(standard + Recommended), you'd get

  > help.search("monotone")
  Help files with alias or concept or title matching 'monotone' using
  fuzzy matching:

  mono.con(mgcv)          Monotonicity constraints for a cubic
			  regression spline.
  isoreg(modreg)          Isotonic / Monotone Regression
  backSpline(splines)     Monotone Inverse Spline

which is probably sufficient.

-- 
Martin Maechler <maechler at stat.math.ethz.ch>	http://stat.ethz.ch/~maechler/
Seminar fuer Statistik, ETH-Zentrum  LEO C16	Leonhardstr. 27
ETH (Federal Inst. Technology)	8092 Zurich	SWITZERLAND
phone: x-41-1-632-3408		fax: ...-1228			<><




More information about the R-help mailing list