NextBestMTD-class: The class with the input for finding the next best MTD...

NextBestMTD-classR Documentation

The class with the input for finding the next best MTD estimate

Description

The class with the input for finding the next best MTD estimate

Slots

target

the target toxicity probability

derive

the function which derives from the input, a vector of posterior MTD samples called mtdSamples, the final next best MTD estimate.

Examples


# In the example below the MTD is defined as the dose for which prob(DLE)=0.33 and
# we will use the 25th quantile of the posterior of MTD as our next best dose.
mtdNextBest <- NextBestMTD(target=0.33,
                           derive=
                             function(mtdSamples){
                               quantile(mtdSamples, probs=0.25)
                             })



crmPack documentation built on June 26, 2024, 5:07 p.m.