Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
kbelisar authored Jun 6, 2021
1 parent 1f5dd54 commit 6583499
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```
Expand Down

0 comments on commit 6583499

Please sign in to comment.