Description Usage Arguments Value

Performs MCMC and returns needed values for dose-finding in a list.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |

`Y` |
Vector containing observed event or censoring times. |

`I` |
Vector containing event indicators (1 if patient experiences an event for a patient). |

`Doses` |
Vector containing Doses of patients in trial. |

`Groups` |
Vector containing group assignment of patients, 0 is baseline group. |

`T1` |
Reference time for toxicity. |

`Target` |
Target cumulative toxicity probability vector at time T1. |

`Upper` |
Cutoff values used to determine if accrual in a subgroup should be suspended. |

`Dose` |
Vector containing the standardized doses considered. |

`meanmu` |
Prior mean for baseline intercept. |

`meanslope` |
Prior mean for baseline slope. |

`MeanInts` |
Vector of prior means for the group specific intercept parameters. |

`MeanSlopes` |
Vector of prior means for the group specific slope parameters. |

`varint` |
Prior variance for the intercept parameters. |

`varbeta` |
Prior variance for the slope parameters. |

`phetero` |
Prior probability of heterogeneous subgroups. |

`Stopped` |
Current vector of STOPPED groups |

`NumPat` |
Number of patients |

`SubRout` |
Parameter to specify subgroup borrowing/clustering. 0=No borrowing, 1=Borrowing but no clustering, 2=Borrowing and clustering. |

`B` |
Number of Iterations to run for MCMC |

A list of quantities needed for determining the next dose to enroll each subgroup.

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.