From 6583499df2bfdff99a5de6c6b58b5f5d86e13afe Mon Sep 17 00:00:00 2001 From: Kyla Belisario <71769015+kbelisar@users.noreply.github.com> Date: Sun, 6 Jun 2021 17:27:10 -0400 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index bb4ff7f..6511b37 100644 --- a/README.md +++ b/README.md @@ -85,7 +85,7 @@ drinkdays$change <- drinkdays$time2-drinkdays$time1 **Since this data is in wide format**, the function `gg_corset()` will be used to create the corset plot using the following code: ``` -p1 <- gg_corset(drinkdays, y_var1 = "pre", y_var2 = "post", group. = "id", c_var = "change") +p1 <- gg_corset(drinkdays, y_var1 = "time1", y_var2 = "time2", group = "id", c_var = "change") p1 # to see the initial visualization ```