Description Usage Arguments Value Examples

A function computing the log likelihood from the gamma distribution under an order restriction reduction

1 | ```
gamllik(structtime,structttot,structdeaths,time_die,ttot,deaths)
``` |

`structtime` |
change-point times to be used to compute the likelihood value |

`structttot` |
total time on test (ttot) between each time point and the previous time point (or 0) corresponding to structtime |

`structdeaths` |
number of deaths corresponding to structttot |

`time_die` |
all event and censoring times from small to large |

`ttot` |
total time on test corresponding to time_die |

`deaths` |
the number of deaths corresponding to "ttot" |

log of the likelihood

1 2 3 4 5 6 7 |

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.