I have a data frame with case IDs and timestamps.
str(Frame$Timestamp)
POSIXct[1:3320], format: "2018-01-02 09:10:14" "2018-01-02 09:10:14" "2018-01-02 09:35:30" "2018-01-02 10:30:43" "2018-01-02 17:10:09" ...
In the console I can execute group_by(Frame, CaseID)
without problems.
When I knit a .Rmd-notebook with the same command I receive the following error:
Error in grouped_df_impl(data, unname(vars), drop) :
Column 'Timestamp'is of unsupported POSIXlt/POSIXt calls:
<Anonymous> ... group_by.data.frame -> grouped_df -> grouped_df_impl Execution halted.
What can I do to make it possible to use group_by()
in that case?
Ben