# Generate random walks and visualize the result
set.seed(123)
rw30() |>
visualize_walks()
# Set the alpha value to be other than the default 0.7
set.seed(123)
rw30() |>
visualize_walks(.alpha = 0.5)
# Use the function with an input that has alternatives for y
set.seed(123)
random_normal_walk() |>
visualize_walks()
# Use the pluck function from purrr to pick just one visualization
set.seed(123)
random_normal_walk() |>
visualize_walks() |>
purrr::pluck(2)
Run the code above in your browser using DataLab