$.statelist {WaMaSim} | R Documentation |
Extract time or budget as vectors
Description
Convenient functions to extract the time or budget.
Usage
## 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
## 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)
[Package WaMaSim version 1.0.0 Index]