| Line 63... |
Line 63... |
| 63 |
\eqn{(x_i,y_i,m_i)}{(x[i],y[i],m[i])}, is monotone (increasing or
|
63 |
\eqn{(x_i,y_i,m_i)}{(x[i],y[i],m[i])}, is monotone (increasing or
|
| 64 |
decreasing) \bold{iff} the data are.
|
64 |
decreasing) \bold{iff} the data are.
|
| 65 |
|
65 |
|
| 66 |
Method \code{"hyman"} computes a \emph{monotone} cubic spline using
|
66 |
Method \code{"hyman"} computes a \emph{monotone} cubic spline using
|
| 67 |
Hyman filtering of an \code{method = "fmm"} fit for strictly monotonic
|
67 |
Hyman filtering of an \code{method = "fmm"} fit for strictly monotonic
|
| 68 |
inputs. (Added in \R 2.16.0.)
|
68 |
inputs. (Added in \R 2.15.2.)
|
| 69 |
|
69 |
|
| 70 |
These interpolation splines can also be used for extrapolation, that is
|
70 |
These interpolation splines can also be used for extrapolation, that is
|
| 71 |
prediction at points outside the range of \code{x}. Extrapolation
|
71 |
prediction at points outside the range of \code{x}. Extrapolation
|
| 72 |
makes little sense for \code{method = "fmm"}; for natural splines it
|
72 |
makes little sense for \code{method = "fmm"}; for natural splines it
|
| 73 |
is linear using the slope of the interpolating curve at the nearest
|
73 |
is linear using the slope of the interpolating curve at the nearest
|
| Line 87... |
Line 87... |
| 87 |
when it was created, the details of which are subject to change.
|
87 |
when it was created, the details of which are subject to change.
|
| 88 |
}
|
88 |
}
|
| 89 |
\section{Warning}{
|
89 |
\section{Warning}{
|
| 90 |
The value returned by \code{splinefun} contains references to the code
|
90 |
The value returned by \code{splinefun} contains references to the code
|
| 91 |
in the current version of \R: it is not intended to be saved and
|
91 |
in the current version of \R: it is not intended to be saved and
|
| 92 |
loaded into a different \R session. This is safer in \R >= 2.16.0.
|
92 |
loaded into a different \R session. This is safer in \R >= 3.0.0.
|
| 93 |
}
|
93 |
}
|
| 94 |
\references{
|
94 |
\references{
|
| 95 |
Becker, R. A., Chambers, J. M. and Wilks, A. R. (1988)
|
95 |
Becker, R. A., Chambers, J. M. and Wilks, A. R. (1988)
|
| 96 |
\emph{The New S Language}.
|
96 |
\emph{The New S Language}.
|
| 97 |
Wadsworth & Brooks/Cole.
|
97 |
Wadsworth & Brooks/Cole.
|