Skip to content

Error Message Cannot use `+.gg()` with a single argument. Did you accidentally put + on a new line?

2 messages · Rosato, Kyle, Eric Berger

#
For some simple reason, I am unable to see the mistake:

ggplot(filter(nlsw88, !(is.na(union))), aes(y = wage, x = union, fill = union))
+ geom_boxplot() + facet_wrap(~idblack)
#
As the error message says, move the '+' sign from the start of the second
line to the end of the preceding line.
On Sat, Dec 19, 2020 at 10:29 PM Rosato, Kyle <kyle at ehrs.upenn.edu> wrote: