Extract the covariate coefficient estimates from a solution path of regularized Cox cure rate model.
# S3 method for cox_cure_net
coef(object, naive_en = FALSE, selection = c("bic1", "bic2", "all"), ...)# S3 method for cox_cure_net_uncer
coef(object, naive_en = FALSE, selection = c("bic1", "bic2", "all"), ...)
Object representing a fitted solution path.
A logical value specifying whether to return naive elastic
net estimates. If FALSE
by default, the elastic net estimates
will be returned instead of the naive elastic net estimates.
A character string for specifying the criterion for
selection of coefficient estimates. The available options are
"bic1"
for selecting coefficient estimates by regular BIC
criterion based on the number of observations, "bic2"
for a
variant BIC criterion based on the effective sample size, and
"all"
for returning the whole solution path. See
BIC.cox_cure_net
for details of selection by BIC.
Other arguments for future usage.
A list that consists of the following named elements:
surv
: the selected coefficient estimates of survival model
part.
cure
: the selected coefficient estimates of cure rate model
part.
# NOT RUN {
## see examples of function `cox_cure_net`
# }
Run the code above in your browser using DataLab