From 696332bd817a55ab702a2449af948384b4eccb61 Mon Sep 17 00:00:00 2001 From: Vincent Arel-Bundock Date: Thu, 12 Dec 2024 23:00:27 -0500 Subject: [PATCH] vignette --- vignettes/format.qmd | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/vignettes/format.qmd b/vignettes/format.qmd index c7eb122e..75a5ff06 100644 --- a/vignettes/format.qmd +++ b/vignettes/format.qmd @@ -49,7 +49,8 @@ tt(dat) |> format_tt( j = 2:4, digits = 1, - date = "%B %d %Y" + date = "%B %d %Y", + bool = tolower ) |> format_tt( j = 1, @@ -176,15 +177,13 @@ tt(dat) |> ## Replacement -Missing values can be replaced by a custom string using the `replace` argument (default `""`): +Missing values can be replaced by a custom string using the `replace` argument: ```{r} tab <- data.frame(a = c(NA, 1, 2), b = c(3, NA, 5)) tt(tab) -tt(tab) |> format_tt() - tt(tab) |> format_tt(replace = "-") ```