init.popgensim: Initialise a pops object fo a a popgen simulation

Description

initialises a time-forward, agent-based and spatiallly explicit genetic population simulation

Usage

1
init.popgensim(n.pops, n.ind, sex.ratio, n.loci, n.allels, locs, n.cov)

Arguments

n.pops

number of subpopulations

n.ind

number of individuals per subpopulation

sex.ratio

sex ratio of males and females

n.loci

number of loci

n.allels

number of maximal alleles per loci

locs

coordinates of the subpopulations

n.cov

number of covariates (defaults to 3)

Value

a simpops object (to be used in run.popgensim )


Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.