lsc_metaepochs_without_active_child {hmsr}R Documentation

Factory function for a local stopping condition that stops a deme after given number of metaepochs have past since last metaepoch during which this deme had an active child.

Description

Factory function for a local stopping condition that stops a deme after given number of metaepochs have past since last metaepoch during which this deme had an active child.

Usage

lsc_metaepochs_without_active_child(metaepochs_limit)

Arguments

metaepochs_limit
  • number of metaepochs that a deme can be active without any active child

Value

Function that can be used as a local stopping condition for hms.

Examples

local_stopping_condition <- lsc_metaepochs_without_active_child(3)

[Package hmsr version 1.0.1 Index]