nobs.lmgce {GCEstim}R Documentation

Extract the Number of Observations from a lmgce model fit

Description

Extract the number of ‘observations’ from a lmgce model fit.

Usage

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

Arguments

object

Fitted lmgce model object.

...

additional arguments.

Value

An integer scalar representing the number of observations (rows) used in fitting the lmgce model object.

Author(s)

Jorge Cabral, jorgecabral@ua.pt

Examples


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


nobs(res_gce_package)


[Package GCEstim version 0.1.0 Index]