bmr2: Target function for optimization if ces.ans = 2

Description Usage Arguments Value

View source: R/modelAveraging.R

Description

Target function for optimization if ces.ans = 2

Usage

1
2
bmr2(weights, dose, modelResults, groupIndex = 1, baseResponse,
  maxResponse = NULL)

Arguments

weights

numeric vector, estimated weights as returned by calculateWeights()

dose

numeric, value for the dose 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 missing average response for all groups is returned

baseResponse

numeric, estimated response value for dose = 0

maxResponse

numeric, response value for which bmr should be calculated; default value is NULL

Value

numeric (vector), estimated added risk for group(s) of interest


alfcrisci/bmdModeling documentation built on May 28, 2019, 12:32 a.m.