From 526f7f361bdab5ac8537e5da88de54166edb4110 Mon Sep 17 00:00:00 2001 From: Vincent Arel-Bundock Date: Fri, 30 Aug 2024 09:38:24 -0400 Subject: [PATCH] typo --- vignettes/datasummary.qmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vignettes/datasummary.qmd b/vignettes/datasummary.qmd index 5484cf3a..dfdabe74 100644 --- a/vignettes/datasummary.qmd +++ b/vignettes/datasummary.qmd @@ -187,7 +187,7 @@ The `datasummary_correlation` function has a `methods` argument. The default val library(correlation) fun <- function(x) { - out <- correlation(mtcars) |> + out <- correlation(x) |> summary() |> format(2) |> as.matrix()