segsites: Segregating sites

Description Usage Arguments Value Examples

View source: R/segsites.R

Description

Generator of subintensity matrix for the special case of segregating sites, ie. summary of all frequency counts

Usage

1
segsites(n, theta)

Arguments

n

sample size (positive integer)

theta

mutation parameter (positive)

Value

A 'disc_phase_type' object containing subintensity matrix (P), vector of initial probabilities (alpha) and defect (probability of not entering any transient state prior to absorption)

Examples

1
segsites(n = 4, theta = 2)

aumath-advancedr2019/ticphasetype documentation built on Jan. 29, 2020, 12:24 p.m.