setParam | R Documentation |
set the value of a parameter
setParam(object, whichParam, value)
## S4 method for signature 'CogapsParams'
setParam(object, whichParam, value)
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 |
the modified params object
params <- new("CogapsParams")
params <- setParam(params, "seed", 123)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.