I have tried to make a boxplot out of this dataset - https://www.kaggle.com/freecodecamp/2016-new-coder-survey-/scripts, but I get an error message
"Error in boxplot.default(split(mf[[response]], mf[-response]), ...) : invalid first argument"
I've cleaned the NAs, but it doesn't work. Maybe, you know what's the problem? For a record, I tried converting Age to numeric and Employment Field to factor - still doesn't work..
boxplot(Age ~ EmploymentField, data = newCoders,
col = brewer.pal(5, "Set1"),
whisklty = 1,
staplelty = 0,
main = "Age of New Coders vs Employment Field",
xlab = "Employment Field",
outcol = brewer.pal(5, "Set1"),
outpch = 16, #outlier symbol
ylab = "Age")