c212.ptheta {c212} | R Documentation |
This function reports the posterior probability that theta is positive, i.e. that there is an increase in log odds of an adverse event being associated with treatment.
c212.ptheta(raw)
raw |
The output from a call to c212.BB. |
A data frame containing the columns: interval if analysing interim data, B: body system, AE: adverse event and ptheta, the posterior probability that theta is positive.
R. Carragher
## Not run: data(c212.trial.data) raw = c212.BB(c212.trial.data) ## End(Not run) ## Not run: p = c212.BB.ptheta(rm) head(p) B AE ptheta 1 Bdy-sys_1 Adv-Ev_1 0.2560500 2 Bdy-sys_2 Adv-Ev_2 0.9426417 3 Bdy-sys_2 Adv-Ev_3 0.8751500 4 Bdy-sys_2 Adv-Ev_4 0.1154917 5 Bdy-sys_2 Adv-Ev_5 0.2317417 6 Bdy-sys_3 Adv-Ev_6 1.0000000 ## End(Not run)