Skip to content

Commit

Permalink
Use refactored format_sigfig
Browse files Browse the repository at this point in the history
  • Loading branch information
edelarua committed Sep 25, 2023
1 parent bc5ee98 commit b69a543
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions book/tables/pharmacokinetic/pkpt02.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,12 @@ lyt <- basic_table() %>%
.stats = c("n", "mean_sd", "cv", "geom_mean", "geom_cv", "median", "range"),
.formats = c(
n = "xx.",
mean_sd = format_sigfig(3, "value_paren"),
mean_sd = format_sigfig(3, "xx (xx)"),
cv = "xx.x",
geom_mean = format_sigfig(3),
geom_cv = "xx.x",
median = format_sigfig(3),
range = format_sigfig(3, "range")
range = format_sigfig(3, "xx - xx")
)
)
```
Expand Down
4 changes: 2 additions & 2 deletions book/tables/pharmacokinetic/pkpt04.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,12 @@ lyt <- basic_table() %>%
.stats = c("n", "mean_sd", "cv", "geom_mean", "geom_cv", "median", "range"),
.formats = c(
n = "xx.",
mean_sd = format_sigfig(3, "value_paren"),
mean_sd = format_sigfig(3, "xx (xx)"),
cv = "xx.x",
geom_mean = format_sigfig(3),
geom_cv = "xx.x",
median = format_sigfig(3),
range = format_sigfig(3, "range")
range = format_sigfig(3, "xx - xx")
)
)
```
Expand Down
4 changes: 2 additions & 2 deletions book/tables/pharmacokinetic/pkpt06.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,12 @@ lyt <- basic_table() %>%
.stats = c("n", "mean_sd", "cv", "geom_mean", "geom_cv", "median", "range"),
.formats = c(
n = "xx.",
mean_sd = format_sigfig(3, "value_paren"),
mean_sd = format_sigfig(3, "xx (xx)"),
cv = "xx.x",
geom_mean = format_sigfig(3),
geom_cv = "xx.x",
median = format_sigfig(3),
range = format_sigfig(3, "range")
range = format_sigfig(3, "xx - xx")
)
)
```
Expand Down

0 comments on commit b69a543

Please sign in to comment.