analysis.anoasg {multisensi} | R Documentation |
Runs a series of analyses of variance
Description
The analysis.anoasg
function runs a series of analyses of variance on the columns of a data.frame, by using the aov
function.
Usage
analysis.anoasg(Y, plan, nbcomp = 2, sigma.car = NULL,
analysis.args = list(formula = 2,
keep.outputs = FALSE))
Arguments
Y |
a data.frame of output variables or principal components. |
plan |
a data.frame containing the design. |
nbcomp |
the number of |
sigma.car |
NULL or sum of squares of Y. If not NULL, compute the Generalised Sensitivity Indices (saved in the last column of the data.frame mSI/tSI/iSI outputs. |
analysis.args |
a list of arguments. The |
Value
A list containing:
SI |
data.frame of sensitivity indices |
mSI |
data.frame of first-order sensitivity indices |
tSI |
data.frame of total sensitivity indices |
iSI |
data.frame of interaction sensitivity indices |
inertia |
vector of Inertia explained by the variables |
indic.fact |
0-1 matrix to indicate the factors associated with each factorial effect |
Hpredict |
prediction of outputs |
outputkept |
if |
call.info |
list with first element |
See Also
Examples
# Test case : the Winter Wheat Dynamic Models (WWDM)
# input factors design
data(biomasseX)
# output variables (precalculated to speed up the example)
data(biomasseY)
res <- analysis.anoasg(biomasseY, biomasseX,
nbcomp = 2, sigma.car = NULL,
analysis.args = list(formula = 2,
keep.outputs = FALSE))