Skip to content

Commit 08e9891

Browse files
committed
fix example
1 parent 8e49d4b commit 08e9891

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/position-connection.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
#' x <- seq(0, 1, length.out = 20)[-1]
3737
#' smooth <- cbind(x, scales::rescale(1 / (1 + exp(-(x * 10 - 5)))))
3838
#'
39-
#' ggplot(head(huron, 10), aes(year, level)) +
39+
#' ggplot(head(economics, 10), aes(date, unemploy)) +
4040
#' geom_line(position = position_connect(zigzag), aes(colour = "zigzag")) +
4141
#' geom_line(position = position_connect(smooth), aes(colour = "smooth")) +
4242
#' geom_point()

0 commit comments

Comments
 (0)