cardiomoon / webr

31 stars 18 forks source link

PieDonut and facet_wrap #8

Open dswingley opened 3 years ago

dswingley commented 3 years ago

I'd like to facet a PieDonut, for example: PieDonut(acs,aes(smoking,Dx)) + facet_wrap(~sex)

I suppose because PieDonut isn't a geom, this call fails: `Error: At least one layer must contain all faceting variables: "sex".

Do you have any suggestions for integrating PieDonut methods into other ggplot functions? tx