cash-struct_class-method: Get/set parameter or output values

$,struct_class-methodR 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 method for signature 'struct_class'
x$name

Arguments

x

An object derived from struct_class

name

The name of the slot to access

Value

Parameter/output value

Examples

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

computational-metabolomics/struct documentation built on March 27, 2024, 4:26 p.m.