lasso_sel: Fit elastic net selection survival model Get the cost and...

Description Usage Arguments

View source: R/predsurv.R

Description

Fit elastic net selection survival model Get the cost and coefficients for elastic net survival analysis.

Usage

1
2
lasso_sel(d_train, g, x_vars, time_var = "time", status_var = "status",
  alpha = 1, relaxed = F, ncores, save_file)

Arguments

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.


csetraynor/predsurv documentation built on May 17, 2020, 3:43 a.m.