On 18/12/2019 11:45 a.m., Christopher W Ryan wrote:
I'm not understanding how the tidyverse handles date formats.
output of sessionInfo() at the end of my message.
dateRanges <- structure(list(apptType = structure(1:2, .Label = c("initial
visit",
"start of treatment visit"), class = "factor"),
Hello,
You are passing a tbl_df to functions that expect a vector.
Here is a first, simpler example.
library(tidyverse)
df1 <- tibble(Date = Sys.Date() + 0:9)
## both produce expected result
format(df1$Date, format = "%d %b %Y")
df1 %>%
mutate(d = format(Date, format = "%d %b %Y"))
Now y
I'm not understanding how the tidyverse handles date formats.
output of sessionInfo() at the end of my message.
dateRanges <- structure(list(apptType = structure(1:2, .Label = c("initial
visit",
"start of treatment visit"), class = "factor"), minMadeRequestDates =
structure(c(18124,
18115), class
3 matches
Mail list logo