Skip to content

Entities

Illustrates how to create structured populations using entities (e.g., groups, households) with contact matrices.

View this example on GitHub.

Try It Live

Edit the code below and click ▶ Run to compile and execute it in your browser via Compiler Explorer. No local setup needed!

🧪 Interactive Example