I have a weird error message popping up in a markdown in R. I am running this line of code
heartrate_data[heartrate_data == "2022484408"] <- "user_6"
Error in as.POSIXlt.character(x, tz, ...): character string is not in a standard unambiguous format
I do not understand as I am not working with dates or attempting to use posix.. I am wondering if R is trying to pick up the numbers as a date in posixlt? How do I get rid of this error.
structure(list(Id = c(2022484408, 2022484408, 2022484408, 2022484408,
2022484408, 2022484408, 2022484408, 2022484408, 2022484408, 2022484408
), Time = c("4/12/2016 7:21:00 AM", "4/12/2016 7:21:05 AM", "4/12/2016
7:21:10 AM",
"4/12/2016 7:21:20 AM", "4/12/2016 7:21:25 AM", "4/12/2016 7:22:05 AM",
"4/12/2016 7:22:10 AM", "4/12/2016 7:22:15 AM", "4/12/2016 7:22:20 AM",
"4/12/2016 7:22:25 AM"), Value = c(97L, 102L, 105L, 103L, 101L,
95L, 91L, 93L, 94L, 93L)), row.names = c(NA, 10L), class = "data.frame")
Thank you