Learn R Programming

GCEstim (version 0.1.0)

coef.cv.lmgce: Extract cv.lmgce Coefficients

Description

Extract coefficients from a cv.lmgce object

Usage

# S3 method for cv.lmgce
coef(object, ...)

Value

Returns the coefficients from a cv.lmgce object. The coefficients are obtained from the lmgce object with best performance. These coefficients are stored in object$best$coefficients.

Arguments

object

Fitted cv.lmgce model object.

...

Additional arguments (not used).

Author

Jorge Cabral, jorgecabral@ua.pt

Examples

Run this code
# \donttest{
res.cv.lmgce <-
  cv.lmgce(y ~ .,
           data = dataGCE)

coef(res.cv.lmgce)
# }

Run the code above in your browser using DataLab