Description Usage Arguments Details Value Author(s) See Also Examples
bSpline computes the B-spline basis matrix.
1 |
x |
a |
knots |
a |
sym |
a |
trunc |
a |
levels |
a positive |
... |
additional arguments passed to |
bSpline is a convenience wrapper function for
splineDesign as an alternative to bs. It has defaults
and some useful parameters suitable for formula specification of
linear filter function bases when using
pointProcessModel.
The function also provides a computation of a multiscale
B-spline basis using the levels argument. If levels is
not NULL a sequence of bases are used with different scales.
Only the range of the knots argument is used. With n levels
the total number of equidistant knots is 2^n * 4 + 2 * n + 1.
The k'th level (for k > 1) uses every 2^(n-k+1)
knot.
A matrix of basis function evaluations. Zero-columns returned from
splineDesign are discarded.
Niels Richard Hansen, Niels.R.Hansen@math.ku.dk
splineDesign, bs, pointProcessModel
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.