popsWithin | R Documentation |
Helper that will be used by popsCompute to determine which objects are within populations or not.
popsWithin(
pops,
regions,
features,
pnt_in_poly_algorithm = 1,
pnt_in_poly_epsilon = 1e-12,
display_progress = TRUE,
title_progress = "",
...
)
pops |
list of populations. |
regions |
list of regions. |
features |
dataframe of features. |
pnt_in_poly_algorithm |
algorithm used to determine if object belongs to a polygon region or not. Default is 1. |
pnt_in_poly_epsilon |
epsilon to determine if object belongs to a polygon region or not. It only applies when algorithm is 1. Default is 1e-12. |
display_progress |
whether to display a progress bar. Default is TRUE. |
title_progress |
character string, giving the title of the progress bar. Default is "". |
... |
other arguments to be passed. |
For pnt_in_poly_algorithm, Trigonometry, is an adaptation of Jeremy VanDerWal's code https://github.com/jjvanderwal/SDMTools
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.