Displaying 3 results from an estimated 3 matches for "splinecoef".
Did you mean:
spline_coef
2006 Mar 17
1
Derivative of a splinefun function.
Is there a way of calculating the derivative of a function returned
by splinefun()? Such a function is a cubic spline, whence it has a
calculable derivative, but is there a (simple) way of getting at it?
One workaround that I have thought of is to take a fine grid of
points, evaluate the function returned by splinefun() at these
points, put an interpolating spline through these points using
2008 Oct 07
0
splinefun gives incorrect derivs when extrapolating to the (PR#13139)
...=====================================
--- src/library/stats/man/splinefun.Rd (revision 46635)
+++ src/library/stats/man/splinefun.Rd (working copy)
@@ -131,7 +131,7 @@
par(op)
## Manual spline evaluation --- demo the coefficients :
-.x <- get("ux", envir = environment(f))
+.x <- splinecoef$x
u <- seq(3,6, by = 0.25)
(ii <- findInterval(u, .x))
dx <- u - .x[ii]
--MP_/kvy20nVajVG/n.8m=_ZjLAX--
2008 Oct 07
0
splinefun gives incorrect derivs when extrapolating to the (PR#13138)
...=====================================
--- src/library/stats/man/splinefun.Rd (revision 46635)
+++ src/library/stats/man/splinefun.Rd (working copy)
@@ -131,7 +131,7 @@
par(op)
## Manual spline evaluation --- demo the coefficients :
-.x <- get("ux", envir = environment(f))
+.x <- splinecoef$x
u <- seq(3,6, by = 0.25)
(ii <- findInterval(u, .x))
dx <- u - .x[ii]
--MP_/Rxf/JAvsQx5JLkhZFc9Jmn4--