From 5947369c415c1e0d80d4cd327456a08eaa78382c Mon Sep 17 00:00:00 2001 From: "Steven Paul Sanderson II, MPH" Date: Mon, 22 Jul 2024 15:23:19 -0400 Subject: [PATCH] update brownian_motion() to have 25 sims like all others --- R/gen-brown-motion.R | 2 +- man/brownian_motion.Rd | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/R/gen-brown-motion.R b/R/gen-brown-motion.R index 53f436c..4ab5167 100644 --- a/R/gen-brown-motion.R +++ b/R/gen-brown-motion.R @@ -52,7 +52,7 @@ NULL #' @export #' @rdname brownian_motion -brownian_motion <- function(.num_walks = 10, .n = 100, .delta_time = 1, +brownian_motion <- function(.num_walks = 25, .n = 100, .delta_time = 1, .initial_value = 0, .return_tibble = TRUE) { # Tidyeval ---- diff --git a/man/brownian_motion.Rd b/man/brownian_motion.Rd index 4be6c48..172a8f7 100644 --- a/man/brownian_motion.Rd +++ b/man/brownian_motion.Rd @@ -5,7 +5,7 @@ \title{Brownian Motion} \usage{ brownian_motion( - .num_walks = 10, + .num_walks = 25, .n = 100, .delta_time = 1, .initial_value = 0,