setParam {CoGAPS}R 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)

[Package CoGAPS version 3.10.0 Index]