A utility function for `coxdual`

that returns increments
from values of a step function over time.

1 |

`step` |
a matrix whose columns give the (possibly multivariate) step function values, corresponding time points and strata. |

`time` |
an integer or character value indicating the column index or name of
the time variable in the matrix |

`stratum` |
integer or character value for the column index or name of the
stratifying variable in the matrix |

A matrix of the same dimension as `step`

.

`jump2step`

1 2 3 4 5 |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.