Learn R Programming

PopGenReport (version 2.2.2)

mutation: Function to execute mutation on a pop data.frame

Description

mutation subprocess on single populations

Usage

mutation(x, n.allels, mutrate, mtype = "n.all", n.cov)

Arguments

x
a pop object
n.allels
number of alleles
mutrate
the mutation rate
mtype
the mutation process (currently on n.all is implemented. (=Choose any allel from 1:n.allels))
n.cov
(number of covariates, default )

Value

a dispersal probability matrix