powered by
Pass in a data frame and variables ending in "DTC" will have corresponding numeric versions created and saved.
ru_datetime(dsetin, includevars = NULL)
The incoming data frame with numeric dates and times added will be returned.
Incoming data frame to have numeric datetimes added.
Specify which variables ending in DTC will be processed.
Yongwei Wang, yongwei.x.wang@viivhealthcare.com Chris Rook, cr883296@gmail.com
library(repfun) library(knitr) ae <- repfun::ru_datetime(repfun::ae) knitr::kable(head(ae[,grepl('(DT$|TM$|DTC$)',names(ae))],5), caption = "After Invoking ru_labels()")
Run the code above in your browser using DataLab