ancestrySize: Sample ancestry size

Description Usage Arguments Value Author(s)

Description

Find the number of ancestors of a given sample in each generation

Usage

1
ancestrySize(history, sampl = NULL, maxgen = NULL)

Arguments

history

an ocject of class genealogy, as returned from WFsim or moranSim

sampl

a vector of integers indicating which individuals from the most recent generation are to be included in the sample

maxgen

the maximum number of generations back in time to investigate

Value

a vector indicating the number of ancestors in each generation 1,...,N.gen

Author(s)

Suzie Brown


suziebrown/miniproject1 documentation built on May 26, 2019, 9:36 a.m.