All functions

convertRisks()

Convert the proportion of events in the experimental groups to risk differences and ratios and vice versa.

findbound()

Find stopping boundary via binomial exact tests

getAlphaPerTest()

getAlphaPerTest

getHarmBound()

Harm boundaries for safety testing

harmboundPlot()

Plot harmbounds and the observed events

plot(<harmbound>)

Plot method for harmbound objects produced by getHarmBound

simSafetyStop()

Simulate safety stopping values. The effect can be given as proportion of events in the experimental group (pH1), the risk difference (rdH1), risk ratio (rrH1) or odds ratio (orH1).