Missing values

11 views
Skip to first unread message

Dianne Cook

unread,
Mar 15, 2009, 6:30:04 PM3/15/09
to ggplot2
Hadley,

Do you think that it might be possible to have some automatic handling
of missing values in ggplot2? Right now missings are just excluded
from the plots, but it would be useful to have a switch that puts them
in the plots, with perhaps a default of 10% below the minimum value.

cheers,
Di
---------------------------
Dianne Cook
dic...@iastate.edu

hadley wickham

unread,
Mar 15, 2009, 10:09:36 PM3/15/09
to Dianne Cook, ggplot2
Di,

That's an interesting idea. The current behaviour is to display
missing values for discrete scales as their own category, but they are
currently dropped (with a warning) for continuous scales. The
situation is more complicated than in ggobi (where the 10% below
minimal value imputation is used) because there are lots of other
aesthetics apart from position - i.e. what should I do for size and
colour?

Hadley
--
http://had.co.nz/
Reply all
Reply to author
Forward
0 new messages