Description Usage Arguments Value
View source: R/modelAveraging.R
Calculate the weighted average of estimated response values
1 | averageResponse(weights, dose, modelResults, groupIndex = 1)
|
weights |
numeric vector, estimated weights as returned by calculateWeights() |
dose |
numeric vector, dose values at which response values are estimated |
modelResults |
list, with results for each model, same length as weights. For each model a list with at least model.ans, regr.par, CES and ces.ans; these are by default included in result from f.proast(). Eventually contains also fct1 and fct2 if factors are included for the model parameters. |
groupIndex |
integer, index for covariate combination of interest; default value is 1; if NA average response for all groups is returned |
numeric (vector), averaged response value at given dose for group(s) of interest
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.