setParam-methods: set the value of a parameter

Description Usage Arguments Value Examples

Description

set the value of a parameter

Usage

1
2
3
4
setParam(object, whichParam, value)

## S4 method for signature 'CogapsParams'
setParam(object, whichParam, value)

Arguments

object

an object of type CogapsParams

whichParam

a string with the name of the parameter to be changed

value

the value to set the parameter to

Value

the modified params object

Examples

1
2
 params <- new("CogapsParams")
 params <- setParam(params, "seed", 123)

CoGAPS documentation built on Nov. 8, 2020, 5:02 p.m.