Description Usage Arguments Value Author(s) See Also Examples

The function allows the user to fit recurrent events survival models.

1 2 |

`formula` |
a formula object, with the response on the left of a |

`data` |
a data.frame in which to interpret the variables named in the formula. |

`id` |
subject identifier. |

`prevEp` |
known previous episodes. |

`riskBef` |
indicator for new individual in the cohort ( |

`oldInd` |
time an individual has been at risk prior to the follow-up. |

`frailty` |
should the model include a frailty term. Defaults to |

`m` |
number of multiple imputations. The default is |

`seed` |
an integer that is used as argument by the |

`...` |
extra arguments to pass to |

A list with seven elements:

`fit` |
a list with all the |

`coeff` |
a list with the vectors of coefficients from the models fitted to each imputed dataset |

`loglik` |
a list with the loglikelihood for each model fitted. |

`vcov` |
a list with the variance-covariance matrices for the parameters fitted for each of the imputed datasets. |

`AIC` |
a list with the AIC of each of the models fitted. |

`CMP` |
summary tables of the fitted COMPoisson models used for imputing missing values |

`data.impute` |
the original dataset with the multiple imputed variables as final columns. |

David Moriña (University of Barcelona), Gilma Hernández-Herrera (Universidad de Antioquía), Albert Navarro (Universitat Autònoma de Barcelona)

Mantainer: David Moriña <dmorina@ub.edu>

1 2 3 4 5 |

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.