[R] problems with splinefun()

2007-11-14 Thread david csongor
I am working with the function: splinefun() ... When plugging in the variables, I get the function program as if though having only entered '"splinefun". only way to get the values is by spline(xxx,yyy, n=length(xxx)/10, ties = mean)$x and spline(xxx,yyy, n=length(xxx)/10, ties = mean)$y. I'm j

[R] help on error message!!!

2007-11-04 Thread david csongor
Could anyone please help me with this one!!! I am looping some simple stuff but when I enter an if - function I get this error message: Error in if (y < (2/(1 * pi) * sqrt(1 - ((x - 2)/1)^2))) c[i] = x else c[i] = 0 : missing value where TRUE/FALSE needed WHAT does it mean, wha

[R] question on the 'stats' package

2007-11-02 Thread david csongor
I can't find the 'stats'- package, has it changed name? Where can I find the na.omit() function if not in 'stats'? Thank you in advance David [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailma