Open nikolas-burkoff opened 2 years ago
Stratify by
section in tmg distribution module.NOTE: For dev that's picking this up, please see show R code to see how the visualization is generated. This will help during development.
Looks to be a bug in the plotting module, possibly due to some issues with relevel/recoding of factors during data processing before entering ggplot.
NA
should not appear in the visualization/legend, as it is not part of the selected categorical values. Not expecting to see NA
in the items to be selected either, as it was not part of the input data.
Thanks @lcd2yyz! I updated the criteria and we'll bring this up to the team again.
From https://github.com/insightsengineering/coredev-tasks/issues/343
See e.g. the 2nd roxygen example:
The
NA
here is notNA
= missing butNA
= one of the strata that is not selected.I would have expected filtering by strata would completely remove those stratas we are not interested in?