diff --git a/docs/authors.html b/docs/authors.html index d989bba..bb9711a 100644 --- a/docs/authors.html +++ b/docs/authors.html @@ -47,14 +47,13 @@
Sanderson S (2024). RandomWalker: Generate Random Walks Compatible With The 'tidyverse'. -R package version 0.0.0.9000, https://github.com/spsanderson/RandomWalker, https://www.spsanderson.com/RandomWalker/. +https://www.spsanderson.com/RandomWalker/, https://github.com/spsanderson/RandomWalker.
@Manual{, title = {RandomWalker: Generate Random Walks Compatible With The 'tidyverse'}, author = {Steven Sanderson}, year = {2024}, - note = {R package version 0.0.0.9000, https://github.com/spsanderson/RandomWalker}, - url = {https://www.spsanderson.com/RandomWalker/}, + note = {https://www.spsanderson.com/RandomWalker/, https://github.com/spsanderson/RandomWalker}, }diff --git a/docs/index.html b/docs/index.html index 979e51c..58cb489 100644 --- a/docs/index.html +++ b/docs/index.html @@ -69,7 +69,7 @@
# install.packages("devtools")
-devtools::install_github("spsanderson/RandomWalker")
brownian_motion(
- .num_walks = 10,
+ .num_walks = 25,
.n = 100,
.delta_time = 1,
.initial_value = 0,
@@ -112,7 +112,7 @@ Exampleslibrary(ggplot2)
brownian_motion()
-#> # A tibble: 1,010 × 3
+#> # A tibble: 2,525 × 3
#> walk_number x y
#> <fct> <int> <dbl>
#> 1 1 1 0
@@ -125,14 +125,14 @@ Examples#> 8 1 8 -3.64
#> 9 1 9 -3.89
#> 10 1 10 -4.13
-#> # ℹ 1,000 more rows
+#> # ℹ 2,515 more rows
brownian_motion() |>
- ggplot(aes(x = x, y = y, group = walk_number, color = walk_number)) +
- geom_line() +
- labs(title = "Brownian Motion", x = "Time", y = "Value") +
- theme_minimal() +
- theme(legend.position = "none")
+ ggplot(aes(x = x, y = y, group = walk_number, color = walk_number)) +
+ geom_line() +
+ labs(title = "Brownian Motion", x = "Time", y = "Value") +
+ theme_minimal() +
+ theme(legend.position = "none")