Learn R Programming

glmaag (version 0.0.6)

coef.ss_glmaag: Coefficients for ss_glmaag

Description

Get the coefficients tuned by stability selection

Usage

# S3 method for ss_glmaag
coef(object, ...)

Arguments

object

the model estimated via stability selection

...

Value

the optimal coefficients get from stability selection including intercept (except for Cox)

Examples

Run this code
# NOT RUN {
data(sampledata)
data(L0)
y <- sampledata$Y_Gau
x <- sampledata[, 4:6]
mod <- ss_glmaag(y, x, L0[seq_len(3), seq_len(3)], nsam = 3)
cc <- coef(mod)
# }

Run the code above in your browser using DataLab