sumstat_sfs: Calculates the Site Frequency Spectrum from simulations
Description
Calculates the Site Frequency Spectrum from simulations
Usage
sumstat_sfs(name = "sfs", population = "all", transformation = identity)
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.
transformation
An optional function for transforming the results
of the statistic. If specified, the results of the transformation are
returned instead of the original values.