Fit elastic net selection survival model Get the cost and coefficients for elastic net survival analysis.
1 2 | lasso_sel(d_train, g, x_vars, time_var = "time", status_var = "status",
alpha = 1, relaxed = F, ncores, save_file)
|
d_train |
dataframe |
g |
additional data frame for bootstrapping |
x_vars |
vars to analysis |
time_var |
defults to time |
status_var |
defaults to status |
alpha |
alpha for elastic net |
relaxed |
apply relaxed lasso set to TRUE |
ncores |
for parallel. |
save_file |
should results be saved on file |
correction |
correction to apply. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.