hadley / r4ds

R for data science: a book
http://r4ds.hadley.nz
Other
4.51k stars 4.19k forks source link

Quotation marks in geom_smooth(method = "lm") #1620

Closed DominikaDomka closed 3 months ago

DominikaDomka commented 7 months ago

Hello,

I have realized that the code only works if geom_smooth(method = lm) does not have quotation marks over lm, otherwise the code is not running.

Thanks Dominika

mine-cetinkaya-rundel commented 7 months ago

Thank you for the feedback. Would you specify where you're seeing lm without the quotes in the book?

mine-cetinkaya-rundel commented 3 months ago

I'm not able to find this in the book, and lm should have quotes around it, so I'll close this for now. Please feel free to reopen if you come across the issue again.