burn_only: Burn-in only

Description Usage Arguments Value

View source: R/burn_only.R

Description

The burn-in component of the agent-based model of cultural transmission.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
burn_only(
  priors,
  surv = 0.5,
  rep_m,
  rep_sd,
  males_only = TRUE,
  burn = 100,
  n_iter = 100,
  n_cores = 4
)

Arguments

priors

A dataframe of priors with the follow columns: ini_pop, ini_syls, innov, dem, p_att, a, v. Each row corresponds to an iteration of the model.

surv

Average overwinter survival.

rep_m

Mean repertoire size across observed dataset.

rep_sd

Standard deviation of repertoire size across observed dataset.

males_only

Whether only males are included in simulation (TRUE/FALSE).

burn

Length of burn-in phase.

n_iter

Number of iterations.

n_cores

Number of cores for parallelization.

Value

Returns the new repertoire of the learner.


masonyoungblood/TransmissionBias documentation built on Sept. 22, 2021, 1:11 p.m.