R/utils-paTimeseries.R
pat_isEmpty.Rd
Convenience function for nrow(pat$data) == 0. This makes for more readable code in functions that need to test for this.
nrow(pat$data) == 0
pat_isEmpty(pat)
pat object
TRUE if no data exist in pat, FALSE otherwise.
TRUE
pat
FALSE
pat_isEmpty(example_pat) #> [1] FALSE