powered by
Convenience function for nrow(pas) == 0. This makes for more readable code in functions that need to test for this.
nrow(pas) == 0
pas_isEmpty(pas)
A pa_synoptic object.
TRUE if no data exist in pas, FALSE otherwise.
TRUE
pas
FALSE
# NOT RUN { pas <- example_pas pas_isEmpty(pas) pas <- pas %>% pas_filter(ID < 0) pas_isEmpty(pas) # }
Run the code above in your browser using DataLab