x <- data.frame(species = "A",
decimalLongitude = c(0,34.84, 0, 33.98),
decimalLatitude = c(23.08, 0, 0, 15.98))
cc_zero(x)
cc_zero(x, value = "flagged")
Run the code above in your browser using DataLab