From 95b3ed996fdd8e89e5889668b75d1e99c18b2ad1 Mon Sep 17 00:00:00 2001 From: "Steven Paul Sanderson II, MPH" Date: Fri, 19 Jul 2024 17:42:27 -0400 Subject: [PATCH] Update gen-random-normal-walk.R --- R/gen-random-normal-walk.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/gen-random-normal-walk.R b/R/gen-random-normal-walk.R index df31704..bf153e5 100644 --- a/R/gen-random-normal-walk.R +++ b/R/gen-random-normal-walk.R @@ -133,8 +133,8 @@ random_normal_walk <- function(.num_walks = 25, .n = 100, .mu = 0, .sd = .1, # dplyr::ungroup() # Attributes - attr(res, "num_walks") <- num_walks attr(res, "n") <- n + attr(res, "num_walks") <- num_walks attr(res, "mu") <- mu attr(res, "sd") <- sd attr(res, "initial_value") <- initial_value