## ----include = FALSE----------------------------------------------------------
knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>"
)

## ----setup, echo=FALSE, message=FALSE-----------------------------------------
library(RandomWalker)

## ----logo, echo=FALSE, out.width="147px", out.height="170px"------------------
knitr::include_graphics("../man/figures/logo.png")

## ----citation, eval=FALSE-----------------------------------------------------
# citation("RandomWalker")

## ----quick_example------------------------------------------------------------
# Generate 30 random walks
walks <- rw30()

# View the first few rows
head(walks)

## ----visualize_example, fig.width=7, fig.height=4-----------------------------
# Visualize the walks
visualize_walks(walks)

## ----summary_example----------------------------------------------------------
# Get summary statistics
walks |> 
  summarize_walks(.value = y) |>
  head()

