coef.cv_glmaag: Coefficients

Description Usage Arguments Value Examples

Description

Get the coefficients estimated by the cv_glmaag model

Usage

1
2
## S3 method for class 'cv_glmaag'
coef(object, type1se = T, ...)

Arguments

object

the estimated cv_glmaag model

type1se

whether or not used 1 SE error (default to be TRUE)

...

...

Value

estimated coefficient included intercept (Cox model does not return intercept)

Examples

1
2
3
4
5
6
7
data(sampledata)
data(L0)
y <- sampledata$Y_Gau
x <- sampledata[, -(1:3)]
cvwhich <- sample(rep(0:4, length.out = length(y)))
mod <- cv_glmaag(y, x, L0, cvwhich = cvwhich)
cc <- coef(mod)

glmaag documentation built on May 10, 2019, 9:04 a.m.