$.statelist {WaMaSim} | R Documentation |
Convenient functions to extract the time or budget.
## S3 method for class 'statelist'
x$name
x |
a state list |
name |
name of the element to extract |
a vector of the time or budget, or a state
Andreas Scheidegger
## 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)