Description Usage Arguments Value Methods (by class) Examples
get/set the values for a parameter.
1 2 3 4 5 6 7 8 9 | param_value(obj, name)
param_value(obj, name) <- value
## S4 method for signature 'struct_class,character'
param_value(obj, name)
## S4 replacement method for signature 'struct_class,character'
param_value(obj, name) <- value
|
obj |
A model or iterator object derived from structclass |
name |
Name of parameter |
value |
A valid value for the parameter being set |
Value of parameter
obj = struct_class,name = character
:
obj = struct_class,name = character
:
1 2 3 4 5 | M = example_model()
param_value(M,'value_1')
M = example_model()
param_value(M,'value_1') = 0.95
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.