sc_max_metric {hmsr} | R Documentation |
Default sprouting condition based on given metric.
Description
It allows an individual to sprout only if there are no other demes on the target level that have centroid within the given distance.
Usage
sc_max_metric(metric, max_distances)
Arguments
metric |
|
max_distances |
|
Value
Function that can be used as a sprouting condition of hms.
Examples
sprouting_condition <- sc_max_metric(euclidean_distance, c(20, 10))
[Package hmsr version 1.0.1 Index]