8000 Update r/2021-07-08-ml-regression.Rmd · plotly/plotly.r-docs@651d71a · GitHub
[go: up one dir, main page]

Skip to content

Commit 651d71a

Browse files
Update r/2021-07-08-ml-regression.Rmd
Co-authored-by: HammadTheOne <30986043+HammadTheOne@users.noreply.github.com>
1 parent b127572 commit 651d71a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

r/2021-07-08-ml-regression.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ iris = cbind(iris, residual)
294294
295295
scatter <- ggplot(iris, aes(x = prediction, y = residual, color = split)) +
296296
geom_point() +
297-
geom_smooth(method=lm, se=FALSE)
297+
geom_smooth(formula=y ~ x, method=lm, se=FALSE)
298298
299299
scatter <- ggplotly(p = scatter, type = 'scatter')
300300

0 commit comments

Comments
 (0)
0