Question: What is the difference in a ggplot command between the option geom _ smooth ( method = lm ) and the option geom _ smooth

What is the difference in a ggplot command between the option
geom_smooth(method=lm)
and the option
geom_smooth(method=loess)
Group of answer choices
They both generate straight lines for a scatterplot
One produces a best fit straight line the other a best fit curve
They do the same thing, just different commands that are equivalent
Cannot be answered with the information provided

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!