methods-solver: Retrieve Regression Method.

Description Usage Arguments Value Author(s) Examples

Description

Retrieve the regression method from an object of class modelObj.

Usage

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

Arguments

object

an object of class modelObj.

...

ignored.

Value

Returns an object of class "character" giving the name of the regression method to be used to obtain parameter estimates.

Author(s)

Shannon T. Holloway <sthollow@ncsu.edu>

Examples

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

    solver(mo)

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