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 = "-") ```