get.effective.size {MoBPS}R Documentation

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

data(ex_pop)
get.effective.size(population=ex_pop, gen=5)

[Package MoBPS version 1.6.64 Index]