[R] sm.regression , one-covariate graph and regression line width

2011-09-27 Thread Giulio Di Giovanni
Hi all, I'm using sm library. In the two-dimensional plot of the analysis with one covariate, I'm able to modify several graphic parameters, either specifying them directly in the sm.regression() function, either through sm.options().The only graphical parameter i cannot modify is the width of

Re: [R] sm.regression

2009-10-27 Thread Peter Ehlers
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.reg

[R] sm.regression

2009-10-27 Thread Val
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? x <- runif(100,-2, 2) y <- x^2 + rnorm(50) sm.regression(x, y, h=0.5) Error: could not find fu

[R] sm.regression - RGL display without data points?

2009-10-08 Thread Giulio Di Giovanni
Hi, I'm using the sm.regression function from the package sm. Everything works fine, but I'd like to have the the "RGL" display only with the smoothed surface and without the data points displayed. Is there an option to do it? I can reduce their size, using "size" parameter, but I haven