powered by
Extract the hours/minutes Component of time-of-day
hours.tod(x)minutes.tod(x)
minutes.tod(x)
numeric vector of length length(x) with hours/minutes
length(x)
vector of class tod
Dr. Andreas Leha
times <- as.tod(c("8:53", NA, "22:30")) hours.tod(times) minutes.tod(times)
Run the code above in your browser using DataLab