Hello,
I need some help with R studio.
i am trying to rename my conditions, I have so far managed to rename my column of condition to factor, but need to rename the conditions. My code so far is this:
my_longer_data %>%
mutate(Condition = factor(Condition)) %>%
head()
my_longer_data %>%
mutate(Condition = factor(Condition)) %>%
head()
then read my data as tidy data from the csv.
tidy_data %>%
mutate(Condition = recode(Condition,
"Condition1" = "Number_Number",
"Condition2" = "Number_Letter",
"Condition3" = "Letter_Number",
"Condition4" = "Letter_Letter",)) %>%
head()
then the error occurs
Any help would be appreciated