Description Usage Arguments Value
fit and predict the survival function
1 2 | curve_predict(model, covariate, dataset = vetran, family = "exp",
futuretime = 1)
|
model |
a Surv(time, status) object |
covariate |
it can be 1 if all covariates are included, or it can be a single covariate |
dataset |
it is the dataset we use |
family |
the paramatric distribution, assumed distribution for y variable. |
futuretime |
the time we want to predict |
the predicted value of the survival function
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.