[R] problems with splinefun()

jim holtman jholtman at gmail.com
Wed Nov 14 15:45:16 CET 2007


Exactly what values do you want "right away"?

You can do:

result <- spline(.....)

and then reference 'result$x' and 'result$y'.  Can you be more
specific on your request and provide an example of what you are
currently doing (with data) and what you expect the results to be.

On Nov 14, 2007 5:31 AM, david csongor <davidcsongor at gmail.com> wrote:
> 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 just wondering if there is something wrong with the package or if
> I'm doing something wrong... Is there a way to get the values right
> away? Has this happened to anyone?
>
> Thanx in advance for the the ever great help one gets asking stuff this way!!!
>
> /David
>
> ______________________________________________
> 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.
>



-- 
Jim Holtman
Cincinnati, OH
+1 513 646 9390

What is the problem you are trying to solve?



More information about the R-help mailing list