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