ipaq_time_alter | R Documentation |
Time is often punched as HH:MM in order to preserve correct time calculations. The ipaq calculation recure time to be in decimal minutes. This function easily changes HH:MM into decminal minutes in a data.frame It alters columns directly in the data.frame
ipaq_time_alter(data, cols = c(ipaq_2, ipaq_4, ipaq_6, ipaq_7))
data |
data with columns to alter |
cols |
columns to alter, in tidyselect format |
data.frame
Other ipaq_functions:
ipaq_compute_met()
,
ipaq_mets()
dat <- data.frame(
time_1 = c("12:34", "09:33", "22:14"),
time_2 = c("10:55", "16:45", "18:02")
)
ipaq_time_alter(dat, cols = c(time_1, time_2))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.