the code runs fine in the rmarkdown but the line is missing when i knit.
the code :
cyclistic_v2$day_of_week <- ordered(cyclistic_v2$day_of_week, levels = c("Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"))
cyclistic_v2 %>%
group_by(member_casual, day_of_week) %>%
summarize(number_of_rides = n()) %>%
ggplot(aes(x = day_of_week, y = number_of_rides, group = member_casual, color = member_casual)) +
geom_line() +
labs(title = " Number of rides per day of week for each customer type")