Get rid of the quotes around value and you get the dotplot:
ggplot(df, aes(x = factor(variable), y = value)) +
geom_dotplot(binaxis = "y", stackdir = "center")
The clue is that the plot from your code returns a string constant
"value". Once you remove the quotes from value, it gets treated as a
numeric variable and the plot you expected is rendered.
Dennis
> --
> You received this message because you are subscribed to the ggplot2 mailing
> list.
> Please provide a reproducible example: http://gist.github.com/270442
>
> To post: email ggp...@googlegroups.com
> To unsubscribe: email ggplot2+u...@googlegroups.com
> More options: http://groups.google.com/group/ggplot2
Dennis,