bmr1: Target function for optimization if ces.ans = 1

Description Usage Arguments Value

View source: R/modelAveraging.R

Description

Target function for optimization if ces.ans = 1

Usage

1
2
bmr1(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 NA results for all groups are returned

baseResponse

numeric, estimated response value for dose = 0; redundant but retained for convenience with bmr2() and bmr3()

maxResponse

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

Value

numeric (vector), estimated response value for a given dose and group(s) of interest; same object as returned by averageResponse()


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