Hi guys!
I'm finishing off on the Data Analytics case study on Bellabeat. I'm currently on the analyze/share phase, generating graphs for my analysis. I'm trying to convert the dates to weekday but I'm having some trouble, I'm not sure if I'm doing this right.
weekday_steps <- daily_steps %>%
- mutate(weekday = weekdays(date))
Error inmutate()
:
In argument:weekday = weekdays(date)
.
Caused by error inUseMethod()
:
! no applicable method for 'weekdays' applied to an object of class "function"
Runrlang::last_trace()