Description Usage Arguments Value

View source: R/NHPP_functions.R

Determine the cumulative probability of the waiting time associated with a non-homogenous Poisson process, given the time of the last event.

1 | ```
get_wait_prob(last_event, wait_time, hazard, part, scale = FALSE)
``` |

`last_event` |
A positive number. The time at last event. |

`wait_time` |
A positive number. The waiting time to the next event. |

`hazard` |
A vector of positive numbers. The time-specific hazard rate. |

`part` |
A vector of positive numbers. Time partition over which to apply the time-specific hazard rate. |

`scale` |
Logical. By default |

`wait_prob`

The probability that the waiting time to next event is at least `wait_time`

.

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.