$<-,struct_class-method {struct} | R Documentation

## Get/set parameter or output values

### Description

Dollar syntax can be used to as a shortcut for getting/setting input parameter and output values for struct objects.

### Usage

    ## S4 replacement method for signature 'struct_class'
    x$name <- value

### Arguments

`x` | An object derived from struct_class
`name` | The name of the slot to access
`value` | The value to assign

### Value

Parameter/output value

### Examples

    M = example_model()
    M$value_1 = 10
    M$value_1 # 10

[Package struct version 1.6.0 Index]