mdahirel / pushed-pulled-2020-heritability-IBM

code for the paper "Individual variation in dispersal, and its sources, shape the fate of pushed vs. pulled range expansions"
0 stars 0 forks source link

allow for variable heritability (encode genetic and residual variance in traits separately) #3

Closed mdahirel closed 3 years ago

mdahirel commented 3 years ago

right now, for both our traits of interest logit(D0) and the slope, there are only one source of variance allowed, the "residual", "non-genetic" part.

We need to allow for heritable variation. To do that:

Note that this means we can dump the "reshuffled/evolutionary" switch once this is done since reshuffled should be equivalent to heritability = 0