Description Usage Arguments Value See Also Examples
A function that returns a function that computes the toxicity probabilities for a given dose, model and the model parameters.
1 2 3 4 5 6 7 | probFunction(model, ...)
## S4 method for signature 'GeneralModel'
probFunction(model, ...)
## S4 method for signature 'ModelTox'
probFunction(model, ...)
|
model |
( |
... |
model specific parameters. |
A function
that computes toxicity probabilities for a given dose
and the model.
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
)
prob_fun <- probFunction(my_model, alpha0 = 2, alpha1 = 3)
prob_fun(30)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.