Agent-based model simulation of conformist tranmission, only slightly modified from Alex Mesoudi's code here: https://github.com/amesoudi/cultural_evolution_ABM_tutorial/blob/master/ABMmodels_model3.Rmd
1 | ConformistTransmission(N, p_0, d, t_max, add = FALSE, col = "black")
|
N |
Population size |
p_0 |
Proportion of agents with trait A at the start of the simulation. |
d |
Strength of conformity |
t_max |
How many generations to run the sim. |
add |
Whether or not the new sim should be added to an existing plot; defaults to FALSE. |
col |
Color of lines for plotting; defaults to black. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.