multivar {multisensi} | R Documentation |
A function to decompose the output data set and reduce its dimension
Description
The function multivar
applies a multivariate method
to decompose the output variables on a given basis.
Usage
multivar(simuls, dimension = NULL, reduction, centered = TRUE,
scale = TRUE, basis.args = list())
Arguments
simuls |
a data.frame of size |
dimension |
the number of variables to analyse, specified by an integer (for example 3) or by the minimal proportion of inertia (for example 0.95) to keep in the output decomposition |
reduction |
a function to decompose the multivariate output on a basis of smaller dimension |
centered |
logical value. If TRUE the output variables are centred. |
scale |
logical value. If TRUE the output variables are normalized. |
basis.args |
a list of arguments for the function given in the |
Value
A list containing:
H |
a data.frame of size |
L |
a matrix of size |
sdev |
standard deviations of the columns of |
nbcomp |
number of components kept from the decomposition |
SStot |
total sums of squares of the simulations (after application of |
centering |
either 0 or the column averages of |
scaling |
either 1 or |
sdY |
standard deviations of the columns of |
cor |
correlation matrix (L*sdev), of size |
scale |
kept in case the option scale has been changed in the function |
importance |
cumulated percentage of SS_H (sdev^2) with respect to SStot |
call.info |
list with the element |
See Also
basis.ACP
, basis.bsplines
, basis.poly
, basis.osplines
Examples
data(biomasseY)
res <- multivar(biomasseY, dimension=0.95, reduction=basis.ACP)