combo_truth: Produce a vector of "true" p(DLT) at each dose combination

Description Usage Arguments Value

View source: R/combo_truth.R

Description

Produce a vector of "true" p(DLT) at each dose combination

Usage

1
2
3
combo_truth(doses, ref_doses = c(75, 40), ref_probs = c(0.25, 0.2),
  other_doses = c(25, 10), other_probs = c(0.005, 0.005),
  odds_multiplier = 9)

Arguments

doses

A list containing doses on the original and log scale.

ref_doses

Vector of length 2. Doses of agent 1 and agent 2 used as reference for standardization. Does not have to match the reference doses in the 'doses' object.

ref_probs

Vector of length 2. Probability of DLT at "ref_doses".

other_doses

Vector of length 2. Doses of agent 1 and agent 2. Any choices valid, apart from the "ref_doses".

other_probs

Vector of length 2. Probability of DLT at "other_doses".

odds_multiplier

Interaction effect, equivalent to exp(eta). In the model, the odds of DLT at "ref_doses" gets multiplied by "odds_multiplier".

Value

A vector containing p(DLT) at each of the dose combinations in "doses".


dominicmagirr/dosecombo documentation built on May 6, 2019, 4:32 p.m.