Description Usage Arguments Note Author(s)

View source: R/TimeSampleWeibull.R

Generates time-to-event data using the transform inverse sampling method, and such that the time-to-event is distributed according to a Weibull distribution induced by censored and/or non-censored covariates. Can be used to set up simulations.

1 | ```
TimeSampleWeibull(covariate_noncens = NULL, covariate_cens, lambda, gamma, beta)
``` |

`covariate_noncens` |
Censored covariate vector. |

`covariate_cens` |
Matrix where each column represents a non-censored covariate. |

`lambda` |
Scale parameter. |

`gamma` |
Shape parameter. |

`beta` |
Regression parameters, ordered as |

The use of this function is illustrated in `SurvRegCens`

.

Stanislas Hubeaux, [email protected]

SurvRegCensCov documentation built on May 30, 2017, 3:32 a.m.

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.