powered by
csb_missingXY returns a logical vector indicating if an observation is missing in either of the coordinate columns that come with the CSB data.
csb_missingXY
csb_missingXY(.data, varX, varY, newVar)
A tibble or data frame
Name of column containing x coordinate data
Name of column containing y coordinate data
Name of new column that is TRUE if coordinate data are missing and FALSE otherwise.
TRUE
FALSE
A tbl with a logical vector appended to it.
# NOT RUN { csb_missingXY(january_2018, srx, sry, newVar = "missingXY") # }
Run the code above in your browser using DataLab