View source: R/HipsterTransmission.R
Agent-based model simulation of anticorformity in a quantitative trait, based on Smaldino and Epstein 'Social conformity despite individual preference for distinctiveness'
1 | HipsterTransmission(N, d, s = 0, k, t_max)
|
N |
Population size |
d |
Anticonformity preference, units indicate standard deviations. 0 indicates preference for mean, positive values prefer higher than mean, negative values prefer lower. |
s |
Variation in anticonformity preference, units indicate standard deviations; defaults to 0. |
k |
Adjustment rate, bounded between 0 and 1. Controls how fast agents update their trait values. |
t_max |
How many generations to run the sim. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.