hadley / r4ds

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

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

Closed DominikaDomka closed 5 months ago

DominikaDomka commented 10 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 10 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 5 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.