get.effective.size {MoBPS} | R Documentation |
Function to estimate the effective population size
get.effective.size(population, gen = NULL, database = NULL, cohorts = NULL)
population |
Population list |
gen |
Quick-insert for database (vector of all generations to export) |
database |
Groups of individuals to consider for the export |
cohorts |
Quick-insert for database (vector of names of cohorts to export) |
Estimated effective population size
data(ex_pop)
get.effective.size(population=ex_pop, gen=5)