Error while using mutate and wday

daily_activity <- daily_activity %>%
mutate(day_of_week = wday(ActivityDate, label = TRUE))
I ran this code and it was showing the following error:
Error in mutate():
:information_source: In argument: day_of_week = wday(ActivityDate, label = TRUE).
Caused by error in wday():
! could not find function "wday"


will bring wday() into namespace.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.