Error in default + theme : non-numeric argument to binary operator

image

Hi, am new to R, can somebody help on this error pls.

Hello and welcome to the community!

It seems like the error you encountered is caused by something that you did not include in your screenshot. That code by itself should execute fine.

Can you share more context or ideally provide even a reprex (reproducible example)?
Learn all about that here: FAQ: How to do a minimal reproducible example ( reprex ) for beginners

As @sebammers mention this should work. See below. I could reprex it:

library(tidyverse)

ggplot(iris, aes (x = Sepal.Length,
                  y = Sepal.Width,
                  col = Species)) +
  geom_point()

Created on 2022-01-19 by the reprex package (v2.0.1)

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.