Open ralsei opened 3 years ago
Partially resolved by #6. There are a few things I want to work out, namely:
Altogether, with define-renderer
etc, metadata, and now dealing with qualitative and quantitative variables, I'm beginning to get something kind of close to ggproto
and that functionality, at least internally. It may be useful to look at what ggproto does here, and its semantics.
Currently, renderers that should have support for qualitative variables do not. While some renderers only make sense for quantitative variables (
lines
for a time series,histogram
, ...), the notable exceptions arepoints
andcol
.Namely,
points
should be able to display a dot-plot, andcol
should achieve similar results tobar
(except the data should be taken literally).Furthermore,
boxplot
should not assume a qualitative variable. In short, we need qualitative-quantitative inference. By all means, this "inference" could just bestring?
Note that since
plot
generally expects that both axes are quantitative (and anything against it requires some isomorphism to a subset of the reals), this is antithetical to the design ofplot
.