model.matrix.lmgce {GCEstim}R Documentation

Extract design matrix from lmgce object

Description

Returns the design matrix used to fit lmgce object.

Usage

## S3 method for class 'lmgce'
model.matrix(object, ...)

Arguments

object

fitted lmgce object.

...

additional arguments.

Value

A numeric matrix with one row for each observation and one column for each parameter in the model.

Author(s)

Jorge Cabral, jorgecabral@ua.pt

Examples


res_gce_package <-
  lmgce(y ~ .,
        x = TRUE,
        data = dataGCE,
        boot.B = 50,
        seed = 230676)

model.matrix(res_gce_package)



[Package GCEstim version 0.1.0 Index]