ali_protocol wrote on 12/21/2011 05:39:19 AM:
> Hi everyone,
> I have:
>
> s= smooth.spline (cbind(1,2,3,4,3,3),cbind (4,2,4,6,5,6))
>
> how may I obtain s hat (s^)?
>
> Thanks a lot.
Read the help file on the smooth.spline() function,
?smooth.spline
The section titled "Value" tells you what the function returns ...
An object of class "smooth.spline" with components
x the distinct x values in increasing order, see the ?Details?
above.
y the fitted values corresponding to x.
...
The y component is what you're interested in,
s$y
Jean
[[alternative HTML version deleted]]