Fit univariate survival Get the cost and coefficients for univariate survival analysis.
1 2 3 | univariate_survival(d_train, x_vars, d_test = NULL, weights = NULL,
ncores = 1L, time_var = "time", status_var = "status",
cost = "ll", mod = c("cox", "reg"), save_file)
|
x_vars |
vars to analysis |
ncores |
for parallel. |
time_var |
defults to time |
status_var |
defaults to status |
cost |
cost measure |
save_file |
should results be saved on file |
dat |
dataframe |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.