basis.poly {multisensi} | R Documentation |
A function to decompose multivariate data on a polynomial basis
Description
The basis.poly
function decomposes a multivariate data set on a polynomial basis.
Usage
basis.poly(simuls, basis.args = list(degree = 3))
Arguments
simuls |
a data.frame of size |
basis.args |
a list of arguments for the polynomial decomposition. The |
Details
This function uses poly
. The optional x.coord
element of the list in basis.args
can be used to specify the support of the polynomial 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.poly(biomasseY,basis.args=list(degree=3))