generate_transmissionProb: Calculation of cultural transmission probabilities

Description Usage Arguments Details Author(s)

Description

Calculates the probability that a variant type is chosen to be copied.

Usage

1
generate_transmissionProb<-function(nType, pop, b, mutationRate)

Arguments

nType

number of variant types present in the population at t1

pop

relative frequencies of the variant types in the population

b

strength of frequency-dependent selection

mutationRate

mutation rate per transmission event

Details

This function determines the probability that a variant type is chosen to be copied under the assumption of frequency-dependent selection. The strength of selection is controlled by the parameter b whith b=0 indicating unbiased transmission.

Author(s)

Clementine Straub


annenna4/culturechange documentation built on May 30, 2019, 6:54 p.m.