get.effective.size: Estimate effective population size

View source: R/get.effective.size.R

get.effective.sizeR Documentation

Estimate effective population size

Description

Function to estimate the effective population size

Usage

get.effective.size(
  population,
  gen = NULL,
  database = NULL,
  cohorts = NULL,
  id = 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)

id

Individual IDs to search/collect in the database

Value

Estimated effective population size

Examples

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

MoBPS documentation built on Nov. 5, 2025, 6:26 p.m.