Description Usage Arguments Value Examples

First, the function fits a smooth surface given grid values of alpha(that's sig.lv for each sub-population) and the corresponding power values, and we suggest thin plate splines here. Second, we apply a L-BFGS-B optimization method to estimate the optimal power values and the corresponding alpha value on the estimated thin plate spline surface.

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

`r` |
vector for the proportion for each sub-population, r_1 is 1, r_i>r_i+1 |

`N1` |
integer, which is fixed as 10240 in our package |

`N2` |
integer, which is fixed as 20480 in our package |

`N3` |
integer, the number of grid point for the sig.lv, which should be the multiples of 5, because we apply 5 stream parallel |

`E` |
integer, the total number of events for the Phase 3 clinical trail, if not specified by user, then an estimation will apply |

`sig` |
the vector of standard deviation of each sub-population |

`sd_full` |
a numeric number, which denotes the prior information of standard deviation for the harzard reduction if sig is not specified, then sd_full must has an input value to define the standard deviation of the full population |

`delta` |
vector,the point estimation of harzard reduction in prior information, if not specified we apply a linear scheme by giving bound to the linear harzard reduction |

`delta_linear_bd` |
vector of length 2, specifying the upper bound and lower bound for the harzard reduction; if the delta is not specified for each sub-population, then the linear scheme will apply and the input is a must. |

`seed` |
integer, seed for random number generation |

list of the optimal results given specific r: optimal alpha split and the corresponding optimal power value

1 2 3 4 5 | ```
## Not run:
#In the example, we apply a linear scheme for the harzard reduction
alpha.split(r=c(1,0.4,0.1), N3=2000, sd_full=1/sqrt(20),delta_linear_bd = c(0.2,0.8))
## End(Not run)
``` |

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.