This is the R Commands that I wrote :
ecommerce_data.df <- read.csv("https://goo.gl/hzRyFd")
profile %in% c("Parent", "Teacher")
& productKnewWhatWanted %in% c("No", "Yes")),
hist(~ ecommerce_data.df$productKnewWhatWanted | ecommerce_data.df$profile))
but sadly, when I execute them, I have this error:
Error in hist.default(~ecommerce_data.df$productKnewWhatWanted | ecommerce_data.df$profile) :
'x' must be numeric
And I don't know how to do it since no as.numeric() or packages have helped me.
Thank you for the help !