leeper / cregg

Simple Conjoint Analyses, Tidying, and Visualization
Other
50 stars 7 forks source link

feature_headers conflicts with facetting #8

Closed leeper closed 6 years ago

leeper commented 6 years ago

The feature_headers code in plot.cj_...() methods modifies x filling in all other variables in the dataset with NA. This messes with facetting by adding an (undesirable) NA facet.

leeper commented 6 years ago

It is also the reason that there is an NA level in the legend when group is specified.

lairdgallagher commented 2 years ago

Hi Thomas,

I'm encountering this issue where feature_headers = TRUE messes with faceting and adds an NA facet. I see that this undesirable NA facet is still in your example: image

So I figure you have not resolved the bug yet. Is there any way to drop the NA facet and keep feature headers at this time?

Thanks for your help and for this invaluable package!

Laird