We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I think that it might be good to see if you can pass more than one item to pluck
The text was updated successfully, but these errors were encountered:
Here is a tidyverse version, needs work obviously but I think you will get the idea @AnttiRask
library(RandomWalker) library(dplyr) library(ggplot2) library(tidyr) random_normal_walk(.initial_value = 10000, .num_walks = 25) |> select(walk_number, x, y, cum_prod) |> pivot_longer(cols=c(y, cum_prod), names_to = "variable", values_to = "value") |> mutate(variable = factor(variable, levels = c("y", "cum_prod"))) |> ggplot(aes(x=x, group = walk_number, y=value, color=walk_number)) + facet_wrap(~variable, scales="free") + geom_line(alpha = 1 - 0.328) + theme_minimal() + theme(legend.position = "none")
You will probably want to work it like you did the visualize_walks() function to compose them together and incorporate ggirafe
visualize_walks()
Sorry, something went wrong.
@AnttiRask I have updated this function in the development branch to handle the change of x being renamed to step_number
development
x
step_number
AnttiRask
No branches or pull requests
Uh oh!
There was an error while loading. Please reload this page.
I think that it might be good to see if you can pass more than one item to pluck
The text was updated successfully, but these errors were encountered: