Learn R Programming

PopGenReport (version 3.1)

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)

Value

a dispersal probability matrix

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 )

Author

Bernd Gruber, Erin Peterson