You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am coming here through an issue I encountered in ggpairs. I have missing data for one of my groups so some panels contain information about a different number of groups. I think this is a problem inherited from ggplot2, because it removes NA values from the data.
If I remove data for one group, the colors are chosen differently, but I would like to retain the grouping information and therefore the colors provided, without manually setting colors using scale_fill_manual(). It also throws a warning. Is there a parameter which I could set that retains the groups with missing values (e.g. drop=FALSE)?
I am coming here through an issue I encountered in ggpairs. I have missing data for one of my groups so some panels contain information about a different number of groups. I think this is a problem inherited from ggplot2, because it removes NA values from the data.
In this example I have colors for three groups.
If I remove data for one group, the colors are chosen differently, but I would like to retain the grouping information and therefore the colors provided, without manually setting colors using scale_fill_manual(). It also throws a warning. Is there a parameter which I could set that retains the groups with missing values (e.g. drop=FALSE)?
This is the ggpairs report:
ggobi/ggally#445 (comment)
The text was updated successfully, but these errors were encountered: