param_value: Parameter values

Description Usage Arguments Value Methods (by class) Examples

Description

get/set the values for a parameter.

Usage

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

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)

Examples

1
2
3
4
5
M = example_model()
param_value(M,'value_1')

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

struct documentation built on Nov. 8, 2020, 8:14 p.m.