Description Usage Arguments Value

View source: R/properties_v2.0.R

Get frequentist and Bayesian properties for a single-arm single binomial endpoint trial design.

1 2 |

`failure` |
Vector of failures needed to stop the trial |

`success` |
Vector of successes needed to stop the trial |

`reviews` |
Vector of the number of patients at each analysis |

`p0` |
probability of success under H0 |

`p1` |
probability of success under H1 |

`prior.a,prior.b` |
beta prior parameters |

`round` |
Option whether to round results or not |

`cutpoints` |
Alternative usage, this replaces failure, success and reviews with a data.frame with columns of the same names |

Returns an object of class `trialDesign_binom_one`

.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.