My code relying on my data frame is presently the following:
I receive an 'Object not found error' and when I change to the variable containing my imported data I receive:
Now I don't know how I can transform my data to make this work, I thought I should use:
pois_data$Sex <- as.factor(pois_data$Sex)
Although this has not worked either, does anyone have any expertise to better inform me?