Performs LASSO variable selection using Cox regression.
lasso_selection(
df,
confounders.name,
outcome.name,
event.name,
seedit = 8316951
)List with selected, omitted variables, coefficients, lambda, and fits.
Data frame.
Character vector of confounder names.
Character. Name of outcome variable.
Character. Name of event indicator variable.
Integer. Random seed.