if (FALSE) {
# Example with identical source and target scales
getFutilityBounds(
sourceValue = c(0, 0.5),
sourceScale = "zValue",
targetScale = "zValue"
)
# Example with different scales
getFutilityBounds(
design = getDesignGroupSequential(kMax = 2, typeOfDesign = "noEarlyEfficacy", alpha = 0.05),
information = c(10, 10),
sourceValue = 0.5,
sourceScale = "condPowerAtObserved",
targetScale = "pValue"
)
}
Run the code above in your browser using DataLab