R/Mean.allelefrequency.r

Defines functions Mean.allelefrequency

# Function called within the funciton Ht.value.calculations.r
Mean.allelefrequency <- function(Table3.1allele){
Mean <- mean(as.numeric(as.vector(Table3.1allele$proportion)))
# The mean allelefrequency over all populations is calculated for the
# actual allele.
invisible(Mean)
}

Try the DEMEtics package in your browser

Any scripts or data that you put into this service are public.

DEMEtics documentation built on May 1, 2019, 10:09 p.m.