Description Usage Arguments Value C API Author(s) Examples
These functions generate B-spline basis functions. bspline.basis
gives a basis of spline functions. periodic.bspline.basis
gives a
basis of periodic spline functions.
1 2 3 4 | bspline.basis(x, nbasis, degree = 3, deriv = 0, names = NULL)
periodic.bspline.basis(x, nbasis, degree = 3, period = 1, deriv = 0,
names = NULL)
|
x |
Vector at which the spline functions are to be evaluated. |
nbasis |
The number of basis functions to return. |
degree |
Degree of requested B-splines. |
deriv |
The order of the derivative required. |
names |
optional; the names to be given to the basis functions. These
will be the column-names of the matrix returned. If the names are
specified as a format string (e.g., "basis%d"), |
period |
The period of the requested periodic B-splines. |
bspline.basis |
Returns a matrix with |
periodic.bspline.basis |
Returns a matrix with |
If deriv>0
, the derivative of that order of each of the corresponding spline basis functions are returned.
Access to the underlying C routines is available: see the header file ‘pomp.h’ for definition and documentation of the C API. At an prompt, execute
1 | file.show(system.file("include/pomp.h",package="pomp2"))
|
to view this file.
Aaron A. King
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.