/
as.polySpline.html
81 lines (53 loc) · 1.95 KB
/
as.polySpline.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><title>R: Piecewise Polynomial Spline Representation</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" type="text/css" href="R.css">
</head><body>
<table width="100%" summary="page for polySpline"><tr><td>polySpline</td><td align="right">R Documentation</td></tr></table>
<h2>Piecewise Polynomial Spline Representation</h2>
<h3>Description</h3>
<p>Create the piecewise polynomial representation of a spline object.
</p>
<h3>Usage</h3>
<pre>
polySpline(object, ...)
as.polySpline(object, ...)
</pre>
<h3>Arguments</h3>
<table summary="R argblock">
<tr valign="top"><td><code>object</code></td>
<td>
<p>An object that inherits from class <code>spline</code>.</p>
</td></tr>
<tr valign="top"><td><code>...</code></td>
<td>
<p>Optional additional arguments. At present no additional
arguments are used.</p>
</td></tr>
</table>
<h3>Value</h3>
<p>An object that inherits from class <code>polySpline</code>. This is the
piecewise polynomial representation of a univariate spline function.
It is defined by a set of distinct numeric values called knots. The
spline function is a polynomial function between each successive pair
of knots. At each interior knot the polynomial segments on each side
are constrained to have the same value of the function and some of its
derivatives.
</p>
<h3>Author(s)</h3>
<p>Douglas Bates and Bill Venables</p>
<h3>See Also</h3>
<p><code>interpSpline</code>,
<code>periodicSpline</code>,
<code>splineKnots</code>,
<code>splineOrder</code>
</p>
<h3>Examples</h3>
<pre>
require(graphics)
ispl <- polySpline(interpSpline( weight ~ height, women, bSpline = TRUE))
print( ispl ) # print the piecewise polynomial representation
plot( ispl ) # plots over the range of the knots
points( women$height, women$weight )
</pre>
</body></html>