View source: R/calc-iphc-ser-area.R
add_in_area | R Documentation |
See example and the vignette.
add_in_area(set_counts_of_sp, area = HG_herring_pred_area)
set_counts_of_sp |
input tibble of the species of interest, likely generated from
|
area |
|
tibble of set_counts_of_sp
with extra logical column in_area
to
say whether or not each set is within area
. Internally a column EID
is
created to assign each set-year a unique ID, needed for
PBSmapping::findPolys
, but this is not returned.
Andrew Edwards
## Not run:
sp_set_counts_with_area <- add_in_area(yelloweye_rockfish$set_counts,
HG_herring_pred_area)
# Gives a warning about hole vertices, can ignore.
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.