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 <k...@ehrs.upenn.edu> wrote: > 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) > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help@r-project.org 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. > [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org 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.