producplots

24 views
Skip to first unread message

neuwirthe

unread,
Dec 2, 2017, 1:37:15 PM12/2/17
to ggplot2
prodplot (from package productplots) seems not to work any more.

prodplot(happy, ~ sex + happy, c("vspine", "hbar"))

produces an error

Error: `b` = l must be a symbol or a string, not formula

As a consequence, geom_mosaic from ggmosaic produces the same error.

How can I make it work again?

I am using R 3.4.2 on MacOS 10.13.1 in RStudio 1.1.393

productplots version 0.1.1.9000 from github.

It also breaks with the version from CRAN (0.1.1)




neuwirthe

unread,
Dec 2, 2017, 2:06:28 PM12/2/17
to ggplot2
It turns out the problem is only with ggmosaic and not with productplots.
Loading ggmosaic overloads some productplots functions,
and that breaks prodplot.
Using prodplot alone works as expected.


Reply all
Reply to author
Forward
0 new messages