basis.bsplines {multisensi} | R Documentation |
A function to decompose multivariate data on a B-spline basis
Description
The basis.bsplines
function decomposes a multivariate data set on a B-spline basis defined by its knots and mdegree parameters.
Usage
basis.bsplines(simuls, basis.args = list(knots = 5, mdegree = 3))
Arguments
simuls |
a data.frame of size |
basis.args |
a list of arguments for the B-spline decomposition. The |
Details
The optional x.coord
element of the list in basis.args
can
be used to specify the support of the B-spline decomposition, if
different from 1:T
. It must be a vector of length T
.
Value
H |
a data.frame of size |
L |
a matrix of size |
call.info |
list with the element |
See Also
Examples
data(biomasseY)
res <- basis.bsplines(biomasseY,basis.args=list(knots=7,mdegree=3))