I just need a very simple scatterplot


I just need a very simple scattarplot but I can't figure it out! Iwatched many videos on youtube, the problem is with my RStudio, I don't know. I even tried to make the same dataset with the person on youtube and same codes, mine still don't work.

I keep having this warning Error: unexpected symbol in "plot(Education$education level"
Could you please tell me what kind of symbol could be wrong here?

This is a non syntactic variable name (because of the empty space), you need to refer to those enclosing them between backticks e. g.

Education$`education level`

If you need more specific help, please provide a proper REPRoducible EXample (reprex) illustrating your issue.

1 Like

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.