Error code using ggplot


I encountered an error message: Error in FUN(X[[i]], ...): object 'boddy_mass_g' not found. Can someone please tell me how to fix it? I just followed by the exact code though

Here is the code:

ggplot(data = penguins)+

  • geom_point(mapping = aes(x=flipper_length_mm,y=boddy_mass_g))


It is body_mass_g, not boddy_mass_g

1 Like

Thank you for pointing it out and appreciate it.
The problem's solved!


This topic was automatically closed 42 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.