F.stat: Calculate Wright F statistic for a population

Description Usage Arguments Value Examples

Description

Calculate Wright F statistic for a population

Usage

1
F.stat(p)

Arguments

p

Population

Value

Numeric vector with 4 values per loci. Values are p frequency, H observed, H expected and the F statistic.

Examples

1
2
3
p <- create_ibm_population()
# The default population has two loci, so there are 2 x 4 values.
print(F.stat(p))

pwhigham/spatibm documentation built on Aug. 30, 2019, 1:16 p.m.