Interactive ggvis plot - question

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Interactive ggvis plot - question

Lars Bishop-2
Hello,

I'm trying to plot a histogram (or alternatively the density) of a
variable, with a slider that displays a vertical line with the
corresponding quantile of the distribution of the variable. That is, I what
to interactivity pick for example, the median, and have the vertical line
move to the corresponding value.

Is this possible to implement in ggvis? I read this comment from Hadley
that says vertical lines are not implemented in ggvis (at least as of last
year).

https://groups.google.com/forum/#!topic/ggvis/VpUYCvhbfX8

Any guidance would be greatly appreciated.

Best,
Lars.

        [[alternative HTML version deleted]]

______________________________________________
[hidden email] mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.