Draw OC curves of different rules
OC_Curve_Diff_Rules2.RdThis function can compute different types of OC probabilities
Arguments
- rules
a data.frame with
gocut,nogocut,nin this ORDER to specify the settings of Operating Characteristics(OC).gocut: Declare Go if #resp >= gocutnogocut: Declare Nogo if #rest <= nogocutn: sample size when making the go/nogo decision- theta_pick
vector of underlying ORR that you want to show in the figure
- tpp_tb
tibble(data.frame) storing TPP values of theta, it must have
tpp_tb$thetaandtpp_tb$tpp.tpp_tb$thetawill be used to match againsttheta_pick- previous_full_rules
a
data.framespecifies all previous stage-wise rules.- plot_params
list of plotting parameters, currently, it supports
contour_vec: a vector storing the contour lines