Learn R Programming

oglmx (version 3.0.0.0)

formula.oglmx: Obtain model formula for an oglmx object.

Description

Given an object of class oglmx the function describes the estimated model via an expression of class formula. The function serves to provide a name of a model to the lrtest function in the lmtest package.

Usage

# S3 method for oglmx
formula(x, ... )

Arguments

x

object of class oglmx.

additional arguments, currently ignored.

Value

an object of class formula.

See Also

oglmx, codelrtest, codeformula.