impute_dtc_simplify_time | R Documentation |
A time is a 12- or 24-hour time possibly with "UN" as specified by the CDISC SDTM standard. It may be of the format "" (empty string), #:##, #:##:##, ##:##, ##:##:##, #:##:UN, ##:##:UN, UN:UN, or UN:UN:UN (where # is a valid number only allowing hours from 00-23, and "UN" signifies that the value is unknown).
impute_dtc_simplify_time(x, drop_zero_seconds = FALSE)
x |
A character vector that looks like a time (see details) |
drop_zero_seconds |
Drop :00 for seconds (keeping only hours and minutes) |
A character vector that is simplified and is a time. Zero will be prepended to single-digit hours.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.