param_list: Parameter list

Description Usage Arguments Value Methods (by class) Examples

Description

get/set a named list of parameters and thier current value for an object

Usage

1
2
3
4
5
6
7
8
9
param_list(obj)

param_list(obj) <- value

## S4 method for signature 'struct_class'
param_list(obj)

## S4 replacement method for signature 'struct_class,list'
param_list(obj) <- value

Arguments

obj

An object derived from struct_class

value

A named list of parameters and corresponding values

Value

A named list of parameters names and corresponding values

Methods (by class)

Examples

1
2
3
4
5
M = example_model()
L = param_list(M)

M = example_model()
param_list(M) = list('value_1' = 15,'value_2' = 20)

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