setParam-methods: set the value of a parameter

setParamR Documentation

set the value of a parameter

Description

set the value of a parameter

Usage

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

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

CoGAPS/CoGAPS documentation built on April 12, 2024, 3:12 a.m.