Piecewise Exponential Distribution with Random Time Grids

findInt | Function to identify the times' intervals |

getGrid | Computes the time grid from the auxiliary vector U. |

gibbs | Runs the Gibbs sampler |

pehaz | Hazard and cumulative hazard functions of the PE distribution |

peppm | Piecewise Exponential Product Partition Model |

PExp | Probability function, distribution function, quantile... |

telecom | GTE Corporation telecommunication systems |

timeGrid | Time grid for the PE distribution |

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.