param_value {struct} | R Documentation

## Parameter values

### Description

get/set the values for a parameter.

### Usage

    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

### Arguments

`obj` | A model or iterator object derived from structclass
`name` | Name of parameter
`value` | A valid value for the parameter being set

### Value

Value of parameter

### Methods (by class)

- `obj = struct_class,name = character`:

- `obj = struct_class,name = character`:

### Examples

    M = example_model()
    param_value(M,'value_1')

    M = example_model()
    param_value(M,'value_1') = 0.95

[Package struct version 1.6.0 Index]