I'm trying to create a new date variable using lubridate package.
I used ifelse function to create a conditional command.
I want to make 2013 as the earliest entry date into the study. Some participants started ART much earlier than 2013. So I thought I those that started earlier should have their dates as 2013 while those that started later, there dates remain as is
The result is the same as the original variable without applying the condition I set