Description Usage Format Examples
This simulated data is an example of the output from the function simulate_SIR_agents()
when output_format = "array"
. It is a 50 x 3 x 188 array where entry (i,j,k) loks at the ith simulation, the jth statistic, and the kth agent.
Each column is asssociated with 1 agent and
is a "sufficient" statistic for each agent's infection. Each agent's
infection is uniquely identified by an initial state, max time before
infection (or time T-1), and max time before recovery (or time T-1). Note time T-1
is the final recorded time in the SIR model (in this case T = 50).
1 |
An array with dimension 50 x 3 x 188 data frame with 188 rows and 3 columns. Below are the descriptions of each dimension
Simulation number is the first dimension. They are named between 1 and 50
This is the sufficient statistic for each agent as described above. The names of the statistics are init_state
, max_time_S
, and max_time_I
the ID of the agent
1 2 | ## show first simulation of first 10 agents
agents_sims[1, , 1:10]
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.