Description Usage Arguments Value Examples

The `SD.sim()`

is used to implement the simulation studies
of the standard design.

1 |

`N` |
The total sample size required |

`rho` |
The proportion of subgroup 1 |

`alpha` |
The overall Type I error rate |

`beta` |
The |

`theta` |
The sizes of treatment effects for subgroups 1 and 2 in experimental arm |

`theta0` |
The size of treatment effect for the control arm |

`sigma0` |
The variance of the treatment effect |

`nSim` |
The number of simulated studies |

`Seed` |
The random seed |

A list contains,

nTotal the total sample used

The power of the specified trial. Here, the power is defined as the probability of rejecting the null hypothesis.

1 2 3 4 5 6 7 8 9 10 11 12 |

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.