Skip to content

Commit 516faf6

Browse files
committedNov 14, 2020
Hide regression line
1 parent 205e37f commit 516faf6

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed
 

‎correlation_game/app.R

-1
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,6 @@ server <- function(input, output, clientData, session) {
187187
}
188188
if (!options[2]) {
189189
p <- p + geom_abline(intercept = intercept, slope = slope, color = "#569BBD")
190-
p <- p + geom_smooth(aes(x = X, y = Y), method = "lm", se = FALSE, color = "red", formula = "y~x", fullrange = TRUE)
191190
}
192191
if (!options[3]) {
193192
p <- p + geom_path(data = data_ellipse, aes(x = X, y = Y), size = 1, linetype = 2, color = "#569BBD")

0 commit comments

Comments
 (0)
Please sign in to comment.