popsWithin {IFC} | R Documentation |
IFC_pops Checker for Object Membership to Populations
Description
Helper that will be used by popsCompute to determine which objects are within populations or not.
Usage
popsWithin(
pops,
regions,
features,
pnt_in_poly_algorithm = 1,
pnt_in_poly_epsilon = 1e-12,
display_progress = TRUE,
title_progress = "",
...
)
Arguments
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. |
Source
For pnt_in_poly_algorithm, Trigonometry, is an adaptation of Jeremy VanDerWal's code https://github.com/jjvanderwal/SDMTools
[Package IFC version 0.2.1 Index]