This package includes an agent-based model (ABM) of cultural transmission that simulates the three main forms of transmission bias: content bias, frequency bias, and demonstrator bias. While it was designed to simulate the cultural transmission of birdsong, it is theoretically generalizable to any cultural system where individuals learn a repertoire (or a set) of cultural traits. The ABM is based on Lachlan et al. (2018), but has been expanded to allow for dynamic population size. The back-end of the learning step of the ABM was written in C++ to minimize computation time. This package requires both Rcpp and C++ 11.
A basic example of the core ABM function is below. In this example, the priors allow for a relatively small population size (100-200), and the simulation is run for one iteration of three years with no burn-in phase. You can access the detailed documentation of the ABM function by entering ?ABM in R: