theta_watterson: Watterson's estimator

Description Usage Arguments Value

Description

Compute Watterson's estimator of the site-wise mutation rate

Usage

1
theta_watterson(s, n, L)

Arguments

s

number of segregating sites observed.

n

number of sequences sampled.

L

number of sites (segregating + non-segregating) observed in sample.

Value

A non-negative floating point number


Cronjaeger/HotBirdHMM documentation built on May 9, 2019, 6:01 p.m.