landSeaFilter | R Documentation |
Filter the occurrence recoreds according to whether they should be in land masses or not
landSeaFilter(df, xf, yf, habType = NULL, verbose = TRUE, habPol = NULL)
df |
Data.frame of species occurrences |
xf |
the field in the dataframe containing the x cordinates |
yf |
the field in the dataframe containing the y cordinates |
habType |
character. Define the species habitat. Only "terrestrial" and "sea" implemented. |
verbose |
logical. Print messages? Default TRUE |
habPol |
sf polygon boject. Shows land masses |
list
Josep M Serra-Diaz (pep.serradiaz@agroparistech.fr)
xyDF <- data.frame (x=c(0,42),y=c(0,1),Reason=NA) landSeaFilter(xyDF,xf='x',yf='y')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.