Learn R Programming

coala (version 0.1.1)

sumstat_sfs: Calculates the Site Frequency Spectrum from simulations

Description

Calculates the Site Frequency Spectrum from simulations

Usage

sumstat_sfs(name = "sfs", population = "all")

Arguments

name
The name of the summary statistic. When simulating a model, the value of the statistics are written to an entry of the returned list with this name. Summary statistic names must be unique in a model.
population
Either the number of a population for with the SFS is calculated, or "all" to calculate the combined SFS of all populations.