ricardo-bion / ggradar

radar charts with ggplot2
https://twitter.com/ricardobion
333 stars 97 forks source link

Retain name of grouping variable #51

Closed drhoda closed 1 year ago

drhoda commented 2 years ago

When I added facet_wrap to a pipeline after ggradar I had to use facet_wrap(~group) even though the name of the variable I was using was category_of_interest.

When I tried test_data %>% ggradar + facet_wrap(~category_of_interest) I got: Error incombine_vars(): ! At least one layer must contain all faceting variables:category_of_interest`.

make_test_data.R.txt