methods-model: Retrieve Formula Object

Description Usage Arguments Value Author(s) Examples

Description

Retrieve the model formula from an object of class modelObj.

Usage

1
2
       ## S4 method for signature 'modelObj'
model(object, ...)

Arguments

object

an object of class modelObj.

...

ignored.

Value

Returns an object of class "formula".

Author(s)

Shannon T. Holloway <sthollow@ncsu.edu>

Examples

1
2
3
4
5
6
7
8
    #----------------------------------------------------#
    # Create modeling object using a formula
    #----------------------------------------------------#
    mo <- buildModelObj(model=Y ~ X1 + X2 + X3 + X4,
                        solver.method='lm')


    model(mo)

modelObj documentation built on May 2, 2019, 5:20 p.m.