The R Project SVN R

Rev

Rev 86303 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 86303 Rev 88563
Line 1... Line 1...
1
% File src/library/stats/man/splinefun.Rd
1
% File src/library/stats/man/splinefun.Rd
2
% Part of the R package, https://www.R-project.org
2
% Part of the R package, https://www.R-project.org
3
% Copyright 1995-2020 R Core Team
3
% Copyright 1995-2025 R Core Team
4
% Distributed under GPL 2 or later
4
% Distributed under GPL 2 or later
5
 
5
 
6
\name{splinefun}
6
\name{splinefun}
7
\alias{spline}
7
\alias{spline}
8
\alias{splinefun}
8
\alias{splinefun}
Line 52... Line 52...
52
}
52
}
53
\details{
53
\details{
54
  The inputs can contain missing values which are deleted, so at least
54
  The inputs can contain missing values which are deleted, so at least
55
  one complete \code{(x, y)} pair is required.
55
  one complete \code{(x, y)} pair is required.
56
  If \code{method = "fmm"}, the spline used is that of
56
  If \code{method = "fmm"}, the spline used is that of
57
  \bibcite{Forsythe, Malcolm and Moler}
57
  \bibcitet{R:Forsythe+Malcolm+Moler:1977}
58
  (an exact cubic is fitted through the four points at each
58
  (an exact cubic is fitted through the four points at each
59
  end of the data, and this is used to determine the end conditions).
59
  end of the data, and this is used to determine the end conditions).
60
  Natural splines are used when \code{method = "natural"}, and periodic
60
  Natural splines are used when \code{method = "natural"}, and periodic
61
  splines when \code{method = "periodic"}.
61
  splines when \code{method = "periodic"}.
62
 
62
 
Line 93... Line 93...
93
  The value returned by \code{splinefun} contains references to the code
93
  The value returned by \code{splinefun} contains references to the code
94
  in the current version of \R: it is not intended to be saved and
94
  in the current version of \R: it is not intended to be saved and
95
  loaded into a different \R session.  This is safer in \R >= 3.0.0.
95
  loaded into a different \R session.  This is safer in \R >= 3.0.0.
96
}
96
}
97
\references{
97
\references{
98
  Becker, R. A., Chambers, J. M. and Wilks, A. R. (1988).
-
 
99
  \emph{The New S Language}.
98
  \bibshow{*,
100
  Wadsworth & Brooks/Cole.
99
    R:Becker+Chambers+Wilks:1988,
101
 
-
 
102
  Dougherty, R. L., Edelman, A. and Hyman, J. M. (1989)
100
    R:Dougherty+Edelman+Hyman:1989,
103
  Positivity-, monotonicity-, or convexity-preserving cubic and quintic
-
 
104
  Hermite interpolation.
-
 
105
  \emph{Mathematics of Computation}, \bold{52}, 471--494.
-
 
106
  \doi{10.1090/S0025-5718-1989-0962209-1}.
-
 
107
 
-
 
108
  Forsythe, G. E., Malcolm, M. A. and Moler, C. B. (1977).
-
 
109
  \emph{Computer Methods for Mathematical Computations}.
-
 
110
  Wiley.
-
 
111
 
-
 
112
  Fritsch, F. N. and Carlson, R. E. (1980).
101
    R:Fritsch+Carlson:1980,
113
  Monotone piecewise cubic interpolation.
-
 
114
  \emph{SIAM Journal on Numerical Analysis}, \bold{17}, 238--246.
-
 
115
  \doi{10.1137/0717021}.
-
 
116
 
-
 
117
  Hyman, J. M. (1983).
102
    R:Hyman:1983
118
  Accurate monotonicity preserving cubic interpolation.
-
 
119
  \emph{SIAM Journal on Scientific and Statistical Computing}, \bold{4},
-
 
120
  645--654.
103
  }
121
  \doi{10.1137/0904045}.
-
 
122
}
104
}
123
\seealso{
105
\seealso{
124
  \code{\link{approx}} and \code{\link{approxfun}} for constant and
106
  \code{\link{approx}} and \code{\link{approxfun}} for constant and
125
  linear interpolation.
107
  linear interpolation.
126
 
108