basis.mine {multisensi} | R Documentation |
A function to decompose multivariate data on a user-defined basis
Description
The basis.mine
function decomposes a multivariate data set on a user-defined basis.
Usage
basis.mine(simuls, basis.args = list(
baseL=1*outer(sort(0:(ncol(simuls)-1)%%5),0:4,"==") ) )
Arguments
simuls |
a data.frame of size |
basis.args |
a list of arguments for the polynomial decomposition. The |
Details
The default basis.args
argument generates a projection on a moving-average basis. But if in the multisensi
function this basis.args
argument is not given for reduction=basis.mine
, the execution will be stopped.
Value
H |
a data.frame of size |
L |
a matrix of size |
call.info |
list with the element |
Examples
data(biomasseY)
M <- 1*outer(sort(0:(ncol(biomasseY)-1)%%5),0:4,"==")
norm.M <- sqrt(colSums(M^2))
for (i in 1:ncol(M)){
M[,i]=M[,i]/norm.M[i]
}
res <- basis.mine(biomasseY, basis.args=list(baseL=M))