Hello,
I have a problem with mutate.
I've tried to code, but it gives me an unexpected token error, and I'm so stuck because I'm new to Rm.
Here is the code, if anyone can help me fix it, it will help me a lot:
linelist_cleaned <- linelist_cleaned %>%
mutate(time_to_death = factor(
time_to_death,
levels = c("0-4 hours",
">4-24 hours",
">24-48 hours",
">48 hours"))