diff --git a/README.Rmd b/README.Rmd index ca4ad2c..0993a01 100644 --- a/README.Rmd +++ b/README.Rmd @@ -58,6 +58,8 @@ rw30() |> Here is a basic visualization of a Random Walk: ```{r random_walk_visual_example} +#| fig.alt: > +#| Visualize a Random Walk of 30 simulations rw30() |> visualize_walks() ``` diff --git a/README.md b/README.md index 4ae643f..55e0ae0 100644 --- a/README.md +++ b/README.md @@ -48,15 +48,15 @@ rw30() |> #> walk_number x y #> #> 1 1 1 0 -#> 2 1 2 -1.82 -#> 3 1 3 -2.48 -#> 4 1 4 -2.29 -#> 5 1 5 -1.34 -#> 6 1 6 -0.373 -#> 7 1 7 0.287 -#> 8 1 8 0.495 -#> 9 1 9 0.493 -#> 10 1 10 1.23 +#> 2 1 2 -0.895 +#> 3 1 3 -1.21 +#> 4 1 4 -0.805 +#> 5 1 5 -1.42 +#> 6 1 6 -2.50 +#> 7 1 7 -2.58 +#> 8 1 8 -3.19 +#> 9 1 9 -3.46 +#> 10 1 10 -3.90 ``` Here is a basic visualization of a Random Walk: @@ -66,4 +66,4 @@ rw30() |> visualize_walks() ``` - +Visualize a Random Walk of 30 simulations diff --git a/docs/articles/getting-started.html b/docs/articles/getting-started.html index f7a7ce8..eff6c20 100644 --- a/docs/articles/getting-started.html +++ b/docs/articles/getting-started.html @@ -206,7 +206,7 @@

Visualizing Random Walks -

+

Visualize a Random Walk of 30 simulations

The plot shows the path of the random walk over time, with the x-axis representing the number of steps and the y-axis representing the position of the object. The random walk exhibits a random pattern of diff --git a/docs/index.html b/docs/index.html index d70ad24..81756cb 100644 --- a/docs/index.html +++ b/docs/index.html @@ -87,20 +87,20 @@

Example#> walk_number x y #> <fct> <int> <dbl> #> 1 1 1 0 -#> 2 1 2 -1.82 -#> 3 1 3 -2.48 -#> 4 1 4 -2.29 -#> 5 1 5 -1.34 -#> 6 1 6 -0.373 -#> 7 1 7 0.287 -#> 8 1 8 0.495 -#> 9 1 9 0.493 -#> 10 1 10 1.23 +#> 2 1 2 -0.895 +#> 3 1 3 -1.21 +#> 4 1 4 -0.805 +#> 5 1 5 -1.42 +#> 6 1 6 -2.50 +#> 7 1 7 -2.58 +#> 8 1 8 -3.19 +#> 9 1 9 -3.46 +#> 10 1 10 -3.90

Here is a basic visualization of a Random Walk:

-

+

Visualize a Random Walk of 30 simulations