newRandomMixing | R Documentation |
Creates a RandomMixing object
an external pointer.
# creates a simulation with 100 agents
sim = Simulation$new(100)
# add a random mixing contact pattern for these agents.
sim$addContact(newRandomMixing())
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.