[R] ggplot error of "`data` must be a data frame, or other object coercible by `fortify()`, not an S3 object with class rxlsx"
Kai Yang
y@ngk@|9999 @end|ng |rom y@hoo@com
Thu Aug 26 17:53:10 CEST 2021
Hello List,
I got an error message when I submit the code below
ggplot(eth, aes(ymax=ymax, ymin=ymin, xmax=4, xmin=3, fill=ethnicity)) + geom_rect() + coord_polar(theta="y") + xlim(c(2, 4) )
Error: `data` must be a data frame, or other object coercible by `fortify()`, not an S3 object with class rxlsx
I checked the syntax. But I can not find any error on my code. Can you help me to find where is the problem?
Thanks
[[alternative HTML version deleted]]
More information about the R-help
mailing list