Open emilioxavier opened 1 year ago
okay. after some investigating, looks like rewriting the function is the best idea to include facetBy
and layerBy
options. apparently, my hasty "fixes" in the previous version break the function more. 🤦
the layerBy
option allows multiple rings. in a way, layers and facetting are interchangeable when used independently, but the real power comes when combined. using facetBy
enforces the use of facets in the make.donut.plot()
function.
when trying to create donut data with the option for facets, the
facetBy
parameter is not correctly implemented. the logic for what columns to create appears broken. does it matter if a facetting column is included if it is not used? could we just set it toNULL
orNA
?