Learn R Programming

occTest (version 0.1.1)

filterMissing: Check for missing coordinates

Description

checks for missing coordinates in the occurrence dataframe

Usage

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

Value

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

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

Author

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

Examples

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

Run the code above in your browser using DataLab