coef.cox_cure_net: Estimated Covariate Coefficients

Description Usage Arguments Value Examples

View source: R/coef.R

Description

Extract the covariate coefficient estimates from a solution path of regularized Cox cure rate model.

Usage

1
2
3
4
5
## S3 method for class 'cox_cure_net'
coef(object, naive_en = FALSE, selection = c("bic1", "bic2", "all"), ...)

## S3 method for class 'cox_cure_net_uncer'
coef(object, naive_en = FALSE, selection = c("bic1", "bic2", "all"), ...)

Arguments

object

Object representing a fitted solution path.

naive_en

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.

selection

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.

Value

A list that consists of the following named elements:

Examples

1
## see examples of function `cox_cure_net`

intsurv documentation built on Jan. 13, 2021, 3:46 p.m.