ggplot(datasaurus_dozen, aes(x=x,y=y,colour=dataset))+geom_point() +theme_void()+theme(legend.position = "none")+facet_wrap(-dataset,ncol=3)
Error in validate_facets(x) : object 'dataset' not found
I'm now learning R, pls any help on how to solve this error?
But what code do you use to assign a value to dataset? Is dataset supposed to be a column in datasaurus_dozen? That is what is implied when you write colour = dataset but R cannot find dataset.