I am attempting to make a histogram of weights faceted by gender. Unfortunately, gender is not known for some participants, but I do have weights for them. This has resulted in levels that are used, but are not relevant to me and unfortunately I can't seem to figure out how to make it so the NA histogram is not shown.
Here is my code:
KYHH %>%
ggplot(aes(x = Weight)) +
geom_histogram() +
facet_grid(~ Gender, drop = TRUE) +
ggtitle("Weight by Gender")
Can you help?
Thanks in advance!