Learn R Programming

GCEstim (version 0.1.0)

resid.lmgce: Extract lmgce Model Residuals

Description

resid is a function which extracts model residuals from lmgce objects.

Usage

# S3 method for lmgce
resid(object, ...)

Value

Returns the residuals from a lmgce object

Arguments

object

Fitted lmgce model object.

...

additional arguments.

Author

Jorge Cabral, jorgecabral@ua.pt

Examples

Run this code
# \donttest{
res_gce_package <-
  lmgce(y ~ .,
        data = dataGCE,
        boot.B = 50,
        seed = 230676)
# }
resid(res_gce_package)

Run the code above in your browser using DataLab