[R] sm.regression

Peter Ehlers ehlers at ucalgary.ca
Tue Oct 27 20:48:31 CET 2009


Val wrote:
> Hi all,
> I was looking for a non parametric survival analysis and I came up with the
> following sample from the web.
> 
> However, I could not run it.  Which library or function does
> "sm.regression"  require?

Time to install package 'sos'. It would quickly tell you that
you'll find sm.regression in pkg:sm (Bowman and Azzalini's smoothing
methods).

  -Peter Ehlers

> 
> x <- runif(100,-2, 2)
> y <- x^2 + rnorm(50)
> sm.regression(x, y, h=0.5)
> 
> Error: could not find function "sm.regression"
> 
> Thanks
> 
> Val
> 
> 	[[alternative HTML version deleted]]
> 
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
> 
>




More information about the R-help mailing list