filterMissing: Check for missing coordinates

filterMissingR Documentation

Check for missing coordinates

Description

checks for missing coordinates in the occurrence dataframe

Usage

filterMissing(df, xf, yf, verbose = FALSE)

Arguments

df

dat.frame of species occurrences

xf

character. The field in the data.frame containing the x coordinates

yf

character. The field in the data.frame containing the y coordinates

verbose

logical. Print messages? Default FALSE

Value

List with two dataframes: stay = coordinates missing and continue = occurrence that you can retain for further analysis

Author(s)

Josep M Serra-Diaz (pep.serradiaz@agroparistech.fr)

Examples

k <- data.frame (x=c(runif (n = 100),NA),y=c(runif (n = 100),1000))
filterMissing(k,xf='x',yf='y')

occTest documentation built on Nov. 18, 2022, 5:07 p.m.