Description Usage Arguments Value

This runs test_one function for many replicates, usually 10,000, for example, to generate the type-2 error rate for one constituent study (not for end user).

1 2 | ```
test.n(r_events_control, n_sample_size_control,
n_sample_size_treated, OR_hat, n, alpha)
``` |

`r_events_control` |
Number of events in untreated |

`n_sample_size_control` |
Sample size in untreated group |

`n_sample_size_treated` |
Sample size in treated group |

`alpha` |
Type-1 error rate. |

`n` |
Number of iterations used to generate constituent study power; suggest use 10,000. |

`OR_hat` |
Summary odds ratio from meta-analysis |

Type-2 error for one constituent study

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.