Learn R Programming

MoBPS (version 1.6.64)

get.effective.size: Estimate effective population size

Description

Function to estimate the effective population size

Usage

get.effective.size(population, gen = NULL, database = NULL, cohorts = NULL)

Arguments

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)

Value

Estimated effective population size

Examples

Run this code
# NOT RUN {
data(ex_pop)
get.effective.size(population=ex_pop, gen=5)
# }

Run the code above in your browser using DataLab