methods-solverArgs: Retrieve Arguments for Regression Method.

Description Usage Arguments Author(s) Examples

Description

Retrieve the arguments to be sent to the regression method.

Usage

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

Arguments

object

object of class modelObj, from which the arguments sent to the regression method are to be retrieved.

...

ignored.

Author(s)

Shannon T. Holloway <sthollow@ncsu.edu>

Examples

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

    solverArgs(mo)
    solverArgs(mo) <- list(model=TRUE)
    solverArgs(mo)

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