View source: R/sample_spatial_point.R
Generate a new spatial location for a given species
1 2 3 4 5 6 7 8 9 | sample_spatial_point(
species_location,
spatial_association,
gamma,
invading_species,
num_candidates,
radius,
count_max
)
|
species_location |
a tibble with the locations of species samples |
spatial_association |
a matrix with elements encoding the strength of species associations. Strength in (0, 1) indicates attraction, = 0 indicates null relationship, in (-1, 0) indicates repulsion |
gamma |
the gamma diversity |
invading_species |
the label of species to sample (an integer between 1 to gamma) |
num_candidates |
the number of candidate points that the sample can |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.