GetDesire {UtilityFrailtyPH12} | R Documentation |
Returns the desireability value of a dose.
Description
Takes estimated posterior mean efficacy and toxicity values and returns the posterior mean desireability score for a given tradeoff contour.
Usage
GetDesire(PE, PT, Contour)
Arguments
PE |
True or estimated probability of efficacy. |
PT |
True of estimated probability of toxicity. |
Contour |
Vector containing 4 entries used to make the desireability function. Contour(1) contains a desired toxicity probability given efficacy, Countour(2) contains a desired efficacy probability given toxicity, and (Contour(3),Contour(4)) is an equally desireable pair of efficacy and toxicity probabilities that are non zero or one. |
Examples
PE=.6
PT=.2
##Contour values
Contour=c(.35,.7,.8,.6)
GetDesire(PE,PT,Contour)
[Package UtilityFrailtyPH12 version 1.0 Index]