Hello, I am just learning r and I am having issues running this ; ggplot(quartet,aes(x,y) + geom_point() + geom_smooth(method=1m, se=FALSE) + facet_wrap(-set)) i have been getting this response ; ggplot(quartet,aes(x,y) + geom_point() + geom_smooth(method=1, se=FALSE) + facet_wrap(-set))
Error in as_facets_list(x) : object 'set' not found.
Please, how do I define facet_wrap issues here? Thank you as you help
Can you kindly explain further, your answer to my question, please? "object not defined is understood" However, the variables you gave here ; "cyl", is it universal? I mean can I use it anytime I am defining facet_wrap.