$<-,struct_class-method | R Documentation |
Dollar syntax can be used to as a shortcut for getting/setting input parameter and output values for struct objects.
## S4 replacement method for signature 'struct_class'
x$name <- value
x |
An object derived from struct_class |
name |
The name of the slot to access |
value |
The value to assign |
Parameter/output value
M = example_model()
M$value_1 = 10
M$value_1 # 10
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.