doseFunction: Getting the Dose Function for a Given Model Type

Description Usage Arguments Value See Also Examples

Description

[Experimental]

A function that returns a function that computes the dose reaching a specific target probability, based on the model specific parameters.

Usage

1
2
3
4
5
6
7
doseFunction(model, ...)

## S4 method for signature 'GeneralModel'
doseFunction(model, ...)

## S4 method for signature 'ModelTox'
doseFunction(model, ...)

Arguments

model

(GeneralModel or ModelTox)
the model.

...

model specific parameters.

Value

A function that computes doses for a given toxicity probability and the model.

See Also

dose, probFunction.

Examples

1
2
3
4
5
6
7
8
my_model <- LogisticLogNormal(
  mean = c(-0.85, 1),
  cov = matrix(c(1, -0.5, -0.5, 1), nrow = 2),
  ref_dose = 50
)

dose_fun <- doseFunction(my_model, alpha0 = 2, alpha1 = 3)
dose_fun(0.6)

0liver0815/onc-crmpack-test documentation built on Feb. 19, 2022, 12:25 a.m.