cash-.statelist: Extract time or budget as vectors

Description Usage Arguments Value Author(s) Examples

Description

Convenient functions to extract the time or budget.

Usage

1
2
## S3 method for class 'statelist'
x$name

Arguments

x

a state list

name

name of the element to extract

Value

a vector of the time or budget, or a state

Author(s)

Andreas Scheidegger

Examples

1
2
3
4
5
6
7
## Not run: 
str(result)      # result is a 'statelist' returned from simulate_network
result$budget    # vector of budget
result$time      # vector of time
result$time.22   # state list of time 22

## End(Not run)

WaMaSim documentation built on May 6, 2019, 1:09 a.m.