Displaying 5 results from an estimated 5 matches for "break_hours".
2024 Dec 17
1
Mutate issue help needed
...nds from 1700*
label_hours = c("17:00", "18:00", "19:00", "20:00", "21:00", "22:00",
"23:00", "00:00", "01:00", "02:00", "03:00", "04:00", "05:00", "06:00")
break_hours = c(0, 1:13*3600)
*# Fix the data column, combine the date and hour/min, and calculate the
elapsed time from #1700 in seconds*
?polished <-
All %>%
mutate(*#convert Date from chr to Date*
Date = as.Date(Date, "%m/%d/%Y")
*#combine day and hour/min including **UTC*
, datetim...
2024 Dec 17
1
Mutate issue help needed
...nds from 1700*
label_hours = c("17:00", "18:00", "19:00", "20:00", "21:00", "22:00",
"23:00", "00:00", "01:00", "02:00", "03:00", "04:00", "05:00", "06:00")
break_hours = c(0, 1:13*3600)
*# Fix the data column, combine the date and hour/min, and calculate the
elapsed time from #1700 in seconds*
?polished <-
All %>%
mutate(*#convert Date from chr to Date*
Date = as.Date(Date, "%m/%d/%Y")
*#combine day and hour/min including **UTC*
, datetim...
2024 Dec 17
1
Mutate issue help needed
Posting Error. OP sent HTML email which by default includes a backup text version with "helpful" marks where formatting was in the original, and the mailing list deleted the HTML (per policy stated in the posting guide linked at the bottom of every email) which effectively leaves the mailing list recipients guessing as to what was originally sent.
Correct configuration of OPs email
2024 Dec 17
1
Mutate issue help needed
...label_hours = c("17:00", "18:00", "19:00", "20:00", "21:00", "22:00",
"23:00", "00:00", "01:00", "02:00", "03:00", "04:00",
"05:00", "06:00")
break_hours = c(0, 1:13*3600)
# Fix data column, combine date hour/min ---------------------------------
# Calculate elapsed time from 17:00 in seconds
polished <- All %>%
mutate( Date = as.Date(Date, "%m/%d/%Y")
, datetime = as.POSIXct(paste(Date, Time, sep = " ",...
2024 Dec 17
2
Mutate issue help needed
Hi all,
Tnx for the varied suggestions.? I tried the "cleaned up code" John
suggested with the same Mutate error message
No clue why an asterisk * was added to the message lines that were only
# comments.
Eons ago Hadley helped with the code with early versions of the original
GGPLOT and it has been modified a bit to reflect current packages and
worked when pasted into the R 4.4.0