Description Usage Arguments Value

`get_t_pieces`

returns the time at risk between intervals `ts`

up to time `t`

.

1 | ```
get_t_pieces(t, ts)
``` |

`t` |
Total time. |

`ts` |
The breakpoints for intervals, starting at 0, ending at Inf. |

A vector of length one less than `ts`

, containing time at risk between consecutive breakpoints in `ts`

.

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.