dtt_completed | R Documentation |
Tests whether a date time is complete.
dtt_completed(x, ...)
## S3 method for class 'Date'
dtt_completed(x, units = "days", unique = TRUE, sorted = TRUE, ...)
## S3 method for class 'POSIXct'
dtt_completed(x, units = "seconds", unique = TRUE, sorted = TRUE, ...)
## S3 method for class 'hms'
dtt_completed(x, units = "seconds", unique = TRUE, sorted = TRUE, ...)
x |
A date/time vector. |
... |
Unused. |
units |
A string of the time units. The possible values are "secs", "minutes", "hours", "days" or "weeks". |
unique |
A flag indicating whether the values must be unique. |
sorted |
A flag indicating whether the values must be sorted. |
A flag indicating whether complete.
dtt_completed(Date)
: Test if Date vector is complete
dtt_completed(POSIXct)
: Test if POSIXct vector is complete
dtt_completed(hms)
: Test if POSIXct vector is complete
Other complete:
dtt_complete()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.