diff --git a/book/tables/ADA/adat03.qmd b/book/tables/ADA/adat03.qmd index 561c5ab1af..0f17fdbb53 100644 --- a/book/tables/ADA/adat03.qmd +++ b/book/tables/ADA/adat03.qmd @@ -57,13 +57,13 @@ adat03_lbls <- c( ) adat03_fmts <- c( n = "xx.", - mean = sprintf_format("%.3e"), - sd = sprintf_format("%.3e"), - median = sprintf_format("%.3e"), - min = sprintf_format("%.3e"), - max = sprintf_format("%.3e"), + mean = format_sigfig(3), + sd = format_sigfig(3), + median = format_sigfig(3), + min = format_sigfig(3), + max = format_sigfig(3), cv = "xx.x", - geom_mean = sprintf_format("%.3e"), + geom_mean = format_sigfig(3), count_fraction = format_count_fraction ) diff --git a/book/tables/pharmacokinetic/pkpt02.qmd b/book/tables/pharmacokinetic/pkpt02.qmd index f6133c7a9b..7808121289 100644 --- a/book/tables/pharmacokinetic/pkpt02.qmd +++ b/book/tables/pharmacokinetic/pkpt02.qmd @@ -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 = sprintf_format("%.3e (%.3e)"), + mean_sd = format_sigfig(3, "xx (xx)"), cv = "xx.x", - geom_mean = sprintf_format("%.3e"), + geom_mean = format_sigfig(3), geom_cv = "xx.x", - median = sprintf_format("%.3e"), - range = sprintf_format("%.3e - %.3e") + median = format_sigfig(3), + range = format_sigfig(3, "xx - xx") ) ) ``` @@ -93,5 +93,4 @@ result ``` {{< include ../../repro.qmd >}} - ::: diff --git a/book/tables/pharmacokinetic/pkpt04.qmd b/book/tables/pharmacokinetic/pkpt04.qmd index 3784d605f2..027ef61f8b 100644 --- a/book/tables/pharmacokinetic/pkpt04.qmd +++ b/book/tables/pharmacokinetic/pkpt04.qmd @@ -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 = sprintf_format("%.3e (%.3e)"), + mean_sd = format_sigfig(3, "xx (xx)"), cv = "xx.x", - geom_mean = sprintf_format("%.3e"), + geom_mean = format_sigfig(3), geom_cv = "xx.x", - median = sprintf_format("%.3e"), - range = sprintf_format("%.3e - %.3e") + median = format_sigfig(3), + range = format_sigfig(3, "xx - xx") ) ) ``` @@ -93,5 +93,4 @@ result ``` {{< include ../../repro.qmd >}} - ::: diff --git a/book/tables/pharmacokinetic/pkpt05.qmd b/book/tables/pharmacokinetic/pkpt05.qmd index 219e28b32f..e82735216c 100644 --- a/book/tables/pharmacokinetic/pkpt05.qmd +++ b/book/tables/pharmacokinetic/pkpt05.qmd @@ -58,14 +58,14 @@ lyt <- basic_table() %>% ), .formats = c( n = "xx.", - mean = sprintf_format("%.3e"), - sd = sprintf_format("%.3e"), + mean = format_sigfig(3), + sd = format_sigfig(3), cv = "xx.x", - median = sprintf_format("%.3e"), - geom_mean = sprintf_format("%.3e"), + median = format_sigfig(3), + geom_mean = format_sigfig(3), geom_cv = "xx.x", - min = sprintf_format("%.3e"), - max = sprintf_format("%.3e") + min = format_sigfig(3), + max = format_sigfig(3) ) ) ``` diff --git a/book/tables/pharmacokinetic/pkpt06.qmd b/book/tables/pharmacokinetic/pkpt06.qmd index e5be398acb..4d474b7c85 100644 --- a/book/tables/pharmacokinetic/pkpt06.qmd +++ b/book/tables/pharmacokinetic/pkpt06.qmd @@ -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 = sprintf_format("%.3e (%.3e)"), + mean_sd = format_sigfig(3, "xx (xx)"), cv = "xx.x", - geom_mean = sprintf_format("%.3e"), + geom_mean = format_sigfig(3), geom_cv = "xx.x", - median = sprintf_format("%.3e"), - range = sprintf_format("%.3e - %.3e") + median = format_sigfig(3), + range = format_sigfig(3, "xx - xx") ) ) ``` @@ -94,5 +94,4 @@ result ``` {{< include ../../repro.qmd >}} - ::: diff --git a/book/tables/pharmacokinetic/pkpt07.qmd b/book/tables/pharmacokinetic/pkpt07.qmd index cd7d3480ed..7c6dbb0e1d 100644 --- a/book/tables/pharmacokinetic/pkpt07.qmd +++ b/book/tables/pharmacokinetic/pkpt07.qmd @@ -59,14 +59,14 @@ lyt <- basic_table() %>% ), .formats = c( n = "xx.", - mean = sprintf_format("%.3e"), - sd = sprintf_format("%.3e"), + mean = format_sigfig(3), + sd = format_sigfig(3), cv = "xx.x", - median = sprintf_format("%.3e"), - geom_mean = sprintf_format("%.3e"), + median = format_sigfig(3), + geom_mean = format_sigfig(3), geom_cv = "xx.x", - min = sprintf_format("%.3e"), - max = sprintf_format("%.3e") + min = format_sigfig(3), + max = format_sigfig(3) ) ) ``` diff --git a/book/tables/pharmacokinetic/pkpt08.qmd b/book/tables/pharmacokinetic/pkpt08.qmd index cdc9b07478..f10afc1e44 100644 --- a/book/tables/pharmacokinetic/pkpt08.qmd +++ b/book/tables/pharmacokinetic/pkpt08.qmd @@ -55,12 +55,12 @@ lyt <- basic_table() %>% ), .formats = c( n = "xx.", - mean = sprintf_format("%.3e"), - sd = sprintf_format("%.3e"), + mean = format_sigfig(3), + sd = format_sigfig(3), cv = "xx.x", - median = sprintf_format("%.3e"), - min = sprintf_format("%.3e"), - max = sprintf_format("%.3e") + median = format_sigfig(3), + min = format_sigfig(3), + max = format_sigfig(3) ) ) diff --git a/book/tables/pharmacokinetic/pkpt11.qmd b/book/tables/pharmacokinetic/pkpt11.qmd index d362fbf7c7..17c98e56d2 100644 --- a/book/tables/pharmacokinetic/pkpt11.qmd +++ b/book/tables/pharmacokinetic/pkpt11.qmd @@ -82,9 +82,9 @@ s_gmr <- function(df, afun_pk_gmr <- function(.formats = list( n = "xx.", - geom_mean_ratio = sprintf_format("%.3e"), - gmr_ci_lwr = sprintf_format("%.3e"), - gmr_ci_upr = sprintf_format("%.3e") + geom_mean_ratio = format_sigfig(3), + gmr_ci_lwr = format_sigfig(3), + gmr_ci_upr = format_sigfig(3) ), compare_dose = comp_dose, denom = TRUE) { diff --git a/package/tests/testthat/_snaps/adat03/markdown-snaps.md b/package/tests/testthat/_snaps/adat03/markdown-snaps.md index 8a1394b500..6b03a1a35b 100644 --- a/package/tests/testthat/_snaps/adat03/markdown-snaps.md +++ b/package/tests/testthat/_snaps/adat03/markdown-snaps.md @@ -8,28 +8,28 @@ Protocol: A: Drug X Antibody Analyte: R1800000 - ———————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————— - Treatment Group - Visit Total Number Samples with - of Measurable Concentration - Samples {1} Mean SD Median Minimum Maximum CV (%) Geometric Mean ≤ 15μg/mL {2} - ———————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————— - A: Drug X (N=536) - Day 1 402 0.000e+00 0.000e+00 0.000e+00 0.000e+00 0.000e+00 NA NA 402 (100%) - Day 2 134 1.618e+01 1.626e+00 1.619e+01 1.260e+01 1.986e+01 10.0 1.610e+01 39 (29.1%) - - C: Combination (N=792) - Day 1 528 0.000e+00 0.000e+00 0.000e+00 0.000e+00 0.000e+00 NA NA 528 (100%) - Day 2 264 2.468e+01 8.645e+00 2.251e+01 1.264e+01 3.947e+01 35.0 2.315e+01 28 (10.6%) - - Overall 1328 6.540e+00 1.095e+01 0.000e+00 0.000e+00 3.947e+01 167.5 NA 997 (75.1%) - ———————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————— + ——————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————— + Treatment Group + Visit Total Number Samples with + of Measurable Concentration + Samples {1} Mean SD Median Minimum Maximum CV (%) Geometric Mean ≤ 15μg/mL {2} + ——————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————— + A: Drug X (N=536) + Day 1 402 0 0 0 0 0 NA NA 402 (100%) + Day 2 134 16.2 1.63 16.2 12.6 19.9 10.0 16.1 39 (29.1%) + + C: Combination (N=792) + Day 1 528 0 0 0 0 0 NA NA 528 (100%) + Day 2 264 24.7 8.65 22.5 12.6 39.5 35.0 23.2 28 (10.6%) + + Overall 1328 6.54 11.0 0 0 39.5 167.5 NA 997 (75.1%) + ——————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————— {1} - Refers to the total no. of measurable ADA samples that have a corresponding measurable drug concentration sample (i.e. results with valid numeric values and LTRs). LTR results on post-dose samples are replaced by aaa µg/mL i.e. half of MQC value. {2} - In validation, the assay was able to detect yyy ng/mL of surrogate ADA in the presence of zzz µg/mL of [drug]. BLQ = Below Limit of Quantitation, LTR = Lower than Reportable, MQC = Minimum Quantifiable Concentration, ADA = Anti-Drug Antibodies (is also referred to as ATA, or Anti-Therapeutic Antibodies). RXXXXXXX is also known as [drug] - ———————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————— + ——————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————— diff --git a/package/tests/testthat/_snaps/pkpt02/markdown-snaps.md b/package/tests/testthat/_snaps/pkpt02/markdown-snaps.md index df9f2719b8..c641b7b0d9 100644 --- a/package/tests/testthat/_snaps/pkpt02/markdown-snaps.md +++ b/package/tests/testthat/_snaps/pkpt02/markdown-snaps.md @@ -7,33 +7,33 @@ Analyte: Plasma Drug X Visit: CYCLE 1 DAY 1 - —————————————————————————————————————————————————————————————————————— - PK Parameter ARM A ARM C - —————————————————————————————————————————————————————————————————————— - Cmax (ug/mL) - n 134 132 - Mean (SD) 3.025e+01 (6.239e+00) 3.004e+01 (5.457e+00) - CV (%) 20.6 18.2 - Geometric Mean 2.961e+01 2.954e+01 - CV % Geometric Mean 21.0 18.9 - Median 2.986e+01 2.977e+01 - Min - Max 1.753e+01 - 4.871e+01 1.585e+01 - 4.757e+01 - AUCinf obs (day*ug/mL) - n 134 132 - Mean (SD) 2.028e+02 (3.766e+01) 1.955e+02 (3.785e+01) - CV (%) 18.6 19.4 - Geometric Mean 1.994e+02 1.917e+02 - CV % Geometric Mean 18.7 20.1 - Median 1.971e+02 1.962e+02 - Min - Max 1.253e+02 - 3.110e+02 1.030e+02 - 3.145e+02 - CL obs (ml/day/kg) - n 134 132 - Mean (SD) 5.043e+00 (1.041e+00) 5.009e+00 (9.846e-01) - CV (%) 20.6 19.7 - Geometric Mean 4.929e+00 4.907e+00 - CV % Geometric Mean 22.4 21.1 - Median 5.078e+00 4.969e+00 - Min - Max 2.255e+00 - 7.395e+00 2.102e+00 - 7.489e+00 + ——————————————————————————————————————————————————— + PK Parameter ARM A ARM C + ——————————————————————————————————————————————————— + Cmax (ug/mL) + n 134 132 + Mean (SD) 30.2 (6.24) 30.0 (5.46) + CV (%) 20.6 18.2 + Geometric Mean 29.6 29.5 + CV % Geometric Mean 21.0 18.9 + Median 29.9 29.8 + Min - Max 17.5 - 48.7 15.9 - 47.6 + AUCinf obs (day*ug/mL) + n 134 132 + Mean (SD) 203 (37.7) 195 (37.8) + CV (%) 18.6 19.4 + Geometric Mean 199 192 + CV % Geometric Mean 18.7 20.1 + Median 197 196 + Min - Max 125 - 311 103 - 315 + CL obs (ml/day/kg) + n 134 132 + Mean (SD) 5.04 (1.04) 5.01 (0.985) + CV (%) 20.6 19.7 + Geometric Mean 4.93 4.91 + CV % Geometric Mean 22.4 21.1 + Median 5.08 4.97 + Min - Max 2.25 - 7.39 2.10 - 7.49 # result_v2 @@ -44,31 +44,31 @@ Analyte: Plasma Drug Y Visit: CYCLE 1 DAY 1 - —————————————————————————————————————————————— - PK Parameter ARM C - —————————————————————————————————————————————— - Cmax (ug/mL) - n 132 - Mean (SD) 2.990e+01 (5.550e+00) - CV (%) 18.6 - Geometric Mean 2.935e+01 - CV % Geometric Mean 20.1 - Median 2.969e+01 - Min - Max 1.406e+01 - 4.345e+01 - AUCinf obs (day*ug/mL) - n 132 - Mean (SD) 1.986e+02 (3.792e+01) - CV (%) 19.1 - Geometric Mean 1.952e+02 - CV % Geometric Mean 18.9 - Median 1.953e+02 - Min - Max 1.264e+02 - 3.183e+02 - CL obs (ml/day/kg) - n 132 - Mean (SD) 4.955e+00 (8.951e-01) - CV (%) 18.1 - Geometric Mean 4.873e+00 - CV % Geometric Mean 18.7 - Median 4.936e+00 - Min - Max 2.987e+00 - 7.211e+00 + ————————————————————————————————————— + PK Parameter ARM C + ————————————————————————————————————— + Cmax (ug/mL) + n 132 + Mean (SD) 29.9 (5.55) + CV (%) 18.6 + Geometric Mean 29.4 + CV % Geometric Mean 20.1 + Median 29.7 + Min - Max 14.1 - 43.4 + AUCinf obs (day*ug/mL) + n 132 + Mean (SD) 199 (37.9) + CV (%) 19.1 + Geometric Mean 195 + CV % Geometric Mean 18.9 + Median 195 + Min - Max 126 - 318 + CL obs (ml/day/kg) + n 132 + Mean (SD) 4.96 (0.895) + CV (%) 18.1 + Geometric Mean 4.87 + CV % Geometric Mean 18.7 + Median 4.94 + Min - Max 2.99 - 7.21 diff --git a/package/tests/testthat/_snaps/pkpt03/markdown-snaps.md b/package/tests/testthat/_snaps/pkpt03/markdown-snaps.md index e07d59d778..5893c7a1bb 100644 --- a/package/tests/testthat/_snaps/pkpt03/markdown-snaps.md +++ b/package/tests/testthat/_snaps/pkpt03/markdown-snaps.md @@ -14,11 +14,11 @@ —————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————— ARM A (N=134) Cmax (ug/mL) 0 NE NE NE NE NE NE NE NE - AUCinf obs (day*ug/mL) 134 203. 37.7 18.6 199. 18.7 197. 125. 311. + AUCinf obs (day*ug/mL) 134 203 37.7 18.6 199 18.7 197 125 311 CL obs (ml/day/kg) 134 5.04 1.04 20.6 4.93 22.4 5.08 2.25 7.39 ARM C (N=132) Cmax (ug/mL) 132 30.0 5.46 18.2 29.5 18.9 29.8 15.9 47.6 - AUCinf obs (day*ug/mL) 132 195. 37.8 19.4 192. 20.1 196. 103. 315. + AUCinf obs (day*ug/mL) 132 195 37.8 19.4 192 20.1 196 103 315 CL obs (ml/day/kg) 132 5.01 0.985 19.7 4.91 21.1 4.97 2.10 7.49 $`CYCLE 1 DAY 2` @@ -32,11 +32,11 @@ ————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————— ARM A (N=134) Cmax (ug/mL) 134 29.4 6.22 21.2 28.6 24.4 29.8 10.1 43.5 - AUCinf obs (day*ug/mL) 134 202. 41.2 20.4 197. 21.4 200. 105. 294. + AUCinf obs (day*ug/mL) 134 202 41.2 20.4 197 21.4 200 105 294 CL obs (ml/day/kg) 134 5.04 1.04 20.7 4.92 22.6 5.01 2.39 7.18 ARM C (N=132) Cmax (ug/mL) 132 30.4 6.03 19.9 29.7 21.7 30.5 12.4 45.5 - AUCinf obs (day*ug/mL) 132 191. 43.0 22.5 186. 24.7 189. 74.8 296. + AUCinf obs (day*ug/mL) 132 191 43.0 22.5 186 24.7 189 74.8 296 CL obs (ml/day/kg) 132 5.07 1.07 21.1 4.96 22.4 5.01 2.48 7.50 @@ -55,11 +55,11 @@ PK Parameter n Mean SD CV (%) Geometric Mean CV % Geometric Mean Median Minimum Maximum —————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————— ARM A (N=134) - AUCinf obs (day*ug/mL) 134 203. 37.7 18.6 199. 18.7 197. 125. 311. + AUCinf obs (day*ug/mL) 134 203 37.7 18.6 199 18.7 197 125 311 CL obs (ml/day/kg) 134 5.04 1.04 20.6 4.93 22.4 5.08 2.25 7.39 ARM C (N=132) Cmax (ug/mL) 132 30.0 5.46 18.2 29.5 18.9 29.8 15.9 47.6 - AUCinf obs (day*ug/mL) 132 195. 37.8 19.4 192. 20.1 196. 103. 315. + AUCinf obs (day*ug/mL) 132 195 37.8 19.4 192 20.1 196 103 315 CL obs (ml/day/kg) 132 5.01 0.985 19.7 4.91 21.1 4.97 2.10 7.49 $`CYCLE 1 DAY 2` @@ -73,11 +73,11 @@ ————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————— ARM A (N=134) Cmax (ug/mL) 134 29.4 6.22 21.2 28.6 24.4 29.8 10.1 43.5 - AUCinf obs (day*ug/mL) 134 202. 41.2 20.4 197. 21.4 200. 105. 294. + AUCinf obs (day*ug/mL) 134 202 41.2 20.4 197 21.4 200 105 294 CL obs (ml/day/kg) 134 5.04 1.04 20.7 4.92 22.6 5.01 2.39 7.18 ARM C (N=132) Cmax (ug/mL) 132 30.4 6.03 19.9 29.7 21.7 30.5 12.4 45.5 - AUCinf obs (day*ug/mL) 132 191. 43.0 22.5 186. 24.7 189. 74.8 296. + AUCinf obs (day*ug/mL) 132 191 43.0 22.5 186 24.7 189 74.8 296 CL obs (ml/day/kg) 132 5.07 1.07 21.1 4.96 22.4 5.01 2.48 7.50 @@ -97,7 +97,7 @@ —————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————— ARM C (N=132) Cmax (ug/mL) 132 29.9 5.55 18.6 29.4 20.1 29.7 14.1 43.4 - AUCinf obs (day*ug/mL) 132 199. 37.9 19.1 195. 18.9 195. 126. 318. + AUCinf obs (day*ug/mL) 132 199 37.9 19.1 195 18.9 195 126 318 CL obs (ml/day/kg) 132 4.96 0.895 18.1 4.87 18.7 4.94 2.99 7.21 $`CYCLE 1 DAY 2` @@ -111,7 +111,7 @@ —————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————— ARM C (N=132) Cmax (ug/mL) 132 30.7 6.12 19.9 30.1 21.9 31.4 12.9 48.3 - AUCinf obs (day*ug/mL) 132 199. 40.0 20.1 194. 22.2 197. 79.2 295. + AUCinf obs (day*ug/mL) 132 199 40.0 20.1 194 22.2 197 79.2 295 CL obs (ml/day/kg) 132 4.99 0.984 19.7 4.89 20.9 4.96 2.58 8.39 diff --git a/package/tests/testthat/_snaps/pkpt04/markdown-snaps.md b/package/tests/testthat/_snaps/pkpt04/markdown-snaps.md index 95c6f89dbc..13356dc215 100644 --- a/package/tests/testthat/_snaps/pkpt04/markdown-snaps.md +++ b/package/tests/testthat/_snaps/pkpt04/markdown-snaps.md @@ -7,41 +7,41 @@ Analyte: Plasma Drug X Visit: CYCLE 1 DAY 1 - ————————————————————————————————————————————————————————————————————— - PK Parameter ARM A ARM C - ————————————————————————————————————————————————————————————————————— - Ae (mg) - n 268 264 - Mean (SD) 1.551e+00 (3.385e-01) 1.535e+00 (2.978e-01) - CV (%) 21.8 19.4 - Geometric Mean 1.513e+00 1.505e+00 - CV % Geometric Mean 23.0 20.3 - Median 1.547e+00 1.547e+00 - Min - Max 7.021e-01 - 2.464e+00 8.502e-01 - 2.208e+00 - Fe (%) - n 268 264 - Mean (SD) 1.571e+01 (3.348e+00) 1.609e+01 (3.103e+00) - CV (%) 21.3 19.3 - Geometric Mean 1.534e+01 1.578e+01 - CV % Geometric Mean 22.2 20.2 - Median 1.577e+01 1.604e+01 - Min - Max 8.147e+00 - 2.452e+01 8.503e+00 - 2.443e+01 - CLR (L/hr) - n 134 132 - Mean (SD) 4.918e-02 (9.611e-03) 5.024e-02 (1.050e-02) - CV (%) 19.5 20.9 - Geometric Mean 4.818e-02 4.913e-02 - CV % Geometric Mean 21.0 21.9 - Median 4.909e-02 4.984e-02 - Min - Max 2.488e-02 - 7.511e-02 2.505e-02 - 8.560e-02 - RENALCLD (L/hr/mg) - n 134 132 - Mean (SD) 4.873e-03 (9.654e-04) 5.110e-03 (9.339e-04) - CV (%) 19.8 18.3 - Geometric Mean 4.772e-03 5.019e-03 - CV % Geometric Mean 21.2 19.7 - Median 4.967e-03 5.151e-03 - Min - Max 2.385e-03 - 7.258e-03 2.356e-03 - 7.407e-03 + ——————————————————————————————————————————————————————————————— + PK Parameter ARM A ARM C + ——————————————————————————————————————————————————————————————— + Ae (mg) + n 268 264 + Mean (SD) 1.55 (0.338) 1.54 (0.298) + CV (%) 21.8 19.4 + Geometric Mean 1.51 1.51 + CV % Geometric Mean 23.0 20.3 + Median 1.55 1.55 + Min - Max 0.702 - 2.46 0.850 - 2.21 + Fe (%) + n 268 264 + Mean (SD) 15.7 (3.35) 16.1 (3.10) + CV (%) 21.3 19.3 + Geometric Mean 15.3 15.8 + CV % Geometric Mean 22.2 20.2 + Median 15.8 16.0 + Min - Max 8.15 - 24.5 8.50 - 24.4 + CLR (L/hr) + n 134 132 + Mean (SD) 0.0492 (0.00961) 0.0502 (0.0105) + CV (%) 19.5 20.9 + Geometric Mean 0.0482 0.0491 + CV % Geometric Mean 21.0 21.9 + Median 0.0491 0.0498 + Min - Max 0.0249 - 0.0751 0.0251 - 0.0856 + RENALCLD (L/hr/mg) + n 134 132 + Mean (SD) 0.00487 (0.000965) 0.00511 (0.000934) + CV (%) 19.8 18.3 + Geometric Mean 0.00477 0.00502 + CV % Geometric Mean 21.2 19.7 + Median 0.00497 0.00515 + Min - Max 0.00238 - 0.00726 0.00236 - 0.00741 # result_v2 @@ -52,39 +52,39 @@ Analyte: Plasma Drug Y Visit: CYCLE 1 DAY 1 - ————————————————————————————————————————————— - PK Parameter ARM C - ————————————————————————————————————————————— - Ae (mg) - n 264 - Mean (SD) 1.598e+00 (3.154e-01) - CV (%) 19.7 - Geometric Mean 1.565e+00 - CV % Geometric Mean 21.4 - Median 1.603e+00 - Min - Max 8.574e-01 - 2.257e+00 - Fe (%) - n 264 - Mean (SD) 1.583e+01 (3.077e+00) - CV (%) 19.4 - Geometric Mean 1.552e+01 - CV % Geometric Mean 20.2 - Median 1.570e+01 - Min - Max 8.311e+00 - 2.378e+01 - CLR (L/hr) - n 132 - Mean (SD) 4.966e-02 (1.009e-02) - CV (%) 20.3 - Geometric Mean 4.857e-02 - CV % Geometric Mean 22.0 - Median 4.912e-02 - Min - Max 1.839e-02 - 7.761e-02 - RENALCLD (L/hr/mg) - n 132 - Mean (SD) 5.093e-03 (1.032e-03) - CV (%) 20.3 - Geometric Mean 4.985e-03 - CV % Geometric Mean 21.4 - Median 5.017e-03 - Min - Max 2.356e-03 - 7.939e-03 + ————————————————————————————————————————— + PK Parameter ARM C + ————————————————————————————————————————— + Ae (mg) + n 264 + Mean (SD) 1.60 (0.315) + CV (%) 19.7 + Geometric Mean 1.56 + CV % Geometric Mean 21.4 + Median 1.60 + Min - Max 0.857 - 2.26 + Fe (%) + n 264 + Mean (SD) 15.8 (3.08) + CV (%) 19.4 + Geometric Mean 15.5 + CV % Geometric Mean 20.2 + Median 15.7 + Min - Max 8.31 - 23.8 + CLR (L/hr) + n 132 + Mean (SD) 0.0497 (0.0101) + CV (%) 20.3 + Geometric Mean 0.0486 + CV % Geometric Mean 22.0 + Median 0.0491 + Min - Max 0.0184 - 0.0776 + RENALCLD (L/hr/mg) + n 132 + Mean (SD) 0.00509 (0.00103) + CV (%) 20.3 + Geometric Mean 0.00499 + CV % Geometric Mean 21.4 + Median 0.00502 + Min - Max 0.00236 - 0.00794 diff --git a/package/tests/testthat/_snaps/pkpt05/markdown-snaps.md b/package/tests/testthat/_snaps/pkpt05/markdown-snaps.md index 5f9aebb624..c083e677d6 100644 --- a/package/tests/testthat/_snaps/pkpt05/markdown-snaps.md +++ b/package/tests/testthat/_snaps/pkpt05/markdown-snaps.md @@ -7,20 +7,20 @@ Analyte: Plasma Drug X Visit: CYCLE 1 DAY 1 - —————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————— - Treatment Arm - PK Parameter n Mean SD CV (%) Geometric Mean CV % Geometric Mean Median Minimum Maximum - —————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————— - ARM A - Ae (mg) 268 1.551e+00 3.385e-01 21.8 1.513e+00 23.0 1.547e+00 7.021e-01 2.464e+00 - Fe (%) 268 1.571e+01 3.348e+00 21.3 1.534e+01 22.2 1.577e+01 8.147e+00 2.452e+01 - CLR (L/hr) 134 4.918e-02 9.611e-03 19.5 4.818e-02 21.0 4.909e-02 2.488e-02 7.511e-02 - RENALCLD (L/hr/mg) 134 4.873e-03 9.654e-04 19.8 4.772e-03 21.2 4.967e-03 2.385e-03 7.258e-03 - ARM C - Ae (mg) 264 1.535e+00 2.978e-01 19.4 1.505e+00 20.3 1.547e+00 8.502e-01 2.208e+00 - Fe (%) 264 1.609e+01 3.103e+00 19.3 1.578e+01 20.2 1.604e+01 8.503e+00 2.443e+01 - CLR (L/hr) 132 5.024e-02 1.050e-02 20.9 4.913e-02 21.9 4.984e-02 2.505e-02 8.560e-02 - RENALCLD (L/hr/mg) 132 5.110e-03 9.339e-04 18.3 5.019e-03 19.7 5.151e-03 2.356e-03 7.407e-03 + ————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————— + Treatment Arm + PK Parameter n Mean SD CV (%) Geometric Mean CV % Geometric Mean Median Minimum Maximum + ————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————— + ARM A + Ae (mg) 268 1.55 0.338 21.8 1.51 23.0 1.55 0.702 2.46 + Fe (%) 268 15.7 3.35 21.3 15.3 22.2 15.8 8.15 24.5 + CLR (L/hr) 134 0.0492 0.00961 19.5 0.0482 21.0 0.0491 0.0249 0.0751 + RENALCLD (L/hr/mg) 134 0.00487 0.000965 19.8 0.00477 21.2 0.00497 0.00238 0.00726 + ARM C + Ae (mg) 264 1.54 0.298 19.4 1.51 20.3 1.55 0.850 2.21 + Fe (%) 264 16.1 3.10 19.3 15.8 20.2 16.0 8.50 24.4 + CLR (L/hr) 132 0.0502 0.0105 20.9 0.0491 21.9 0.0498 0.0251 0.0856 + RENALCLD (L/hr/mg) 132 0.00511 0.000934 18.3 0.00502 19.7 0.00515 0.00236 0.00741 # result_v2 @@ -31,13 +31,13 @@ Analyte: Plasma Drug Y Visit: CYCLE 1 DAY 1 - —————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————— - Treatment Arm - PK Parameter n Mean SD CV (%) Geometric Mean CV % Geometric Mean Median Minimum Maximum - —————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————— - ARM C - Ae (mg) 264 1.598e+00 3.154e-01 19.7 1.565e+00 21.4 1.603e+00 8.574e-01 2.257e+00 - Fe (%) 264 1.583e+01 3.077e+00 19.4 1.552e+01 20.2 1.570e+01 8.311e+00 2.378e+01 - CLR (L/hr) 132 4.966e-02 1.009e-02 20.3 4.857e-02 22.0 4.912e-02 1.839e-02 7.761e-02 - RENALCLD (L/hr/mg) 132 5.093e-03 1.032e-03 20.3 4.985e-03 21.4 5.017e-03 2.356e-03 7.939e-03 + ———————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————— + Treatment Arm + PK Parameter n Mean SD CV (%) Geometric Mean CV % Geometric Mean Median Minimum Maximum + ———————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————— + ARM C + Ae (mg) 264 1.60 0.315 19.7 1.56 21.4 1.60 0.857 2.26 + Fe (%) 264 15.8 3.08 19.4 15.5 20.2 15.7 8.31 23.8 + CLR (L/hr) 132 0.0497 0.0101 20.3 0.0486 22.0 0.0491 0.0184 0.0776 + RENALCLD (L/hr/mg) 132 0.00509 0.00103 20.3 0.00499 21.4 0.00502 0.00236 0.00794 diff --git a/package/tests/testthat/_snaps/pkpt06/markdown-snaps.md b/package/tests/testthat/_snaps/pkpt06/markdown-snaps.md index 605e069842..4ba32ee95b 100644 --- a/package/tests/testthat/_snaps/pkpt06/markdown-snaps.md +++ b/package/tests/testthat/_snaps/pkpt06/markdown-snaps.md @@ -7,17 +7,17 @@ Analyte: Plasma Drug X Visit: CYCLE 1 DAY 1 - ————————————————————————————————————————————————————————————————————— - PK Parameter ARM A ARM C - ————————————————————————————————————————————————————————————————————— - RENALCLD (L/hr/mg) - n 134 132 - Mean (SD) 4.873e-03 (9.654e-04) 5.110e-03 (9.339e-04) - CV (%) 19.8 18.3 - Geometric Mean 4.772e-03 5.019e-03 - CV % Geometric Mean 21.2 19.7 - Median 4.967e-03 5.151e-03 - Min - Max 2.385e-03 - 7.258e-03 2.356e-03 - 7.407e-03 + ——————————————————————————————————————————————————————————————— + PK Parameter ARM A ARM C + ——————————————————————————————————————————————————————————————— + RENALCLD (L/hr/mg) + n 134 132 + Mean (SD) 0.00487 (0.000965) 0.00511 (0.000934) + CV (%) 19.8 18.3 + Geometric Mean 0.00477 0.00502 + CV % Geometric Mean 21.2 19.7 + Median 0.00497 0.00515 + Min - Max 0.00238 - 0.00726 0.00236 - 0.00741 # result_v2 @@ -28,15 +28,15 @@ Analyte: Plasma Drug Y Visit: CYCLE 1 DAY 1 - ————————————————————————————————————————————— - PK Parameter ARM C - ————————————————————————————————————————————— - RENALCLD (L/hr/mg) - n 132 - Mean (SD) 5.093e-03 (1.032e-03) - CV (%) 20.3 - Geometric Mean 4.985e-03 - CV % Geometric Mean 21.4 - Median 5.017e-03 - Min - Max 2.356e-03 - 7.939e-03 + ————————————————————————————————————————— + PK Parameter ARM C + ————————————————————————————————————————— + RENALCLD (L/hr/mg) + n 132 + Mean (SD) 0.00509 (0.00103) + CV (%) 20.3 + Geometric Mean 0.00499 + CV % Geometric Mean 21.4 + Median 0.00502 + Min - Max 0.00236 - 0.00794 diff --git a/package/tests/testthat/_snaps/pkpt07/markdown-snaps.md b/package/tests/testthat/_snaps/pkpt07/markdown-snaps.md index 145d9a98ff..8fbe703ed3 100644 --- a/package/tests/testthat/_snaps/pkpt07/markdown-snaps.md +++ b/package/tests/testthat/_snaps/pkpt07/markdown-snaps.md @@ -7,14 +7,14 @@ Analyte: Plasma Drug X Visit: CYCLE 1 DAY 1 - —————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————— - Treatment Arm - PK Parameter n Mean SD CV (%) Geometric Mean CV % Geometric Mean Median Minimum Maximum - —————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————— - ARM A - RENALCLD (L/hr/mg) 134 4.873e-03 9.654e-04 19.8 4.772e-03 21.2 4.967e-03 2.385e-03 7.258e-03 - ARM C - RENALCLD (L/hr/mg) 132 5.110e-03 9.339e-04 18.3 5.019e-03 19.7 5.151e-03 2.356e-03 7.407e-03 + ————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————— + Treatment Arm + PK Parameter n Mean SD CV (%) Geometric Mean CV % Geometric Mean Median Minimum Maximum + ————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————— + ARM A + RENALCLD (L/hr/mg) 134 0.00487 0.000965 19.8 0.00477 21.2 0.00497 0.00238 0.00726 + ARM C + RENALCLD (L/hr/mg) 132 0.00511 0.000934 18.3 0.00502 19.7 0.00515 0.00236 0.00741 # result_v2 @@ -25,10 +25,10 @@ Analyte: Plasma Drug Y Visit: CYCLE 1 DAY 1 - —————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————— - Treatment Arm - PK Parameter n Mean SD CV (%) Geometric Mean CV % Geometric Mean Median Minimum Maximum - —————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————— - ARM C - RENALCLD (L/hr/mg) 132 5.093e-03 1.032e-03 20.3 4.985e-03 21.4 5.017e-03 2.356e-03 7.939e-03 + ———————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————— + Treatment Arm + PK Parameter n Mean SD CV (%) Geometric Mean CV % Geometric Mean Median Minimum Maximum + ———————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————— + ARM C + RENALCLD (L/hr/mg) 132 0.00509 0.00103 20.3 0.00499 21.4 0.00502 0.00236 0.00794 diff --git a/package/tests/testthat/_snaps/pkpt08/markdown-snaps.md b/package/tests/testthat/_snaps/pkpt08/markdown-snaps.md index dbee2845d0..8ea72232da 100644 --- a/package/tests/testthat/_snaps/pkpt08/markdown-snaps.md +++ b/package/tests/testthat/_snaps/pkpt08/markdown-snaps.md @@ -8,25 +8,25 @@ Analyte: Plasma Drug X Visit: CYCLE 1 DAY 1 - ————————————————————————————————————————————————————————————— - Treatment Arm Accumulation Interval (hours) - 0-12 0-24 - Ae (mg) Fe (%) Ae (mg) Fe (%) - ————————————————————————————————————————————————————————————— - ARM A - n 134 134 134 134 - Mean 1.551e+00 1.571e+01 1.551e+00 1.571e+01 - SD 3.391e-01 3.354e+00 3.391e-01 3.354e+00 - CV (%) 21.9 21.4 21.9 21.4 - Median 1.547e+00 1.577e+01 1.547e+00 1.577e+01 - Minimum 7.021e-01 8.147e+00 7.021e-01 8.147e+00 - Maximum 2.464e+00 2.452e+01 2.464e+00 2.452e+01 - ARM C - n 132 132 132 132 - Mean 1.535e+00 1.609e+01 1.535e+00 1.609e+01 - SD 2.983e-01 3.109e+00 2.983e-01 3.109e+00 - CV (%) 19.4 19.3 19.4 19.3 - Median 1.547e+00 1.604e+01 1.547e+00 1.604e+01 - Minimum 8.502e-01 8.503e+00 8.502e-01 8.503e+00 - Maximum 2.208e+00 2.443e+01 2.208e+00 2.443e+01 + —————————————————————————————————————————————————————————— + Treatment Arm Accumulation Interval (hours) + 0-12 0-24 + Ae (mg) Fe (%) Ae (mg) Fe (%) + —————————————————————————————————————————————————————————— + ARM A + n 134 134 134 134 + Mean 1.55 15.7 1.55 15.7 + SD 0.339 3.35 0.339 3.35 + CV (%) 21.9 21.4 21.9 21.4 + Median 1.55 15.8 1.55 15.8 + Minimum 0.702 8.15 0.702 8.15 + Maximum 2.46 24.5 2.46 24.5 + ARM C + n 132 132 132 132 + Mean 1.54 16.1 1.54 16.1 + SD 0.298 3.11 0.298 3.11 + CV (%) 19.4 19.3 19.4 19.3 + Median 1.55 16.0 1.55 16.0 + Minimum 0.850 8.50 0.850 8.50 + Maximum 2.21 24.4 2.21 24.4 diff --git a/package/tests/testthat/_snaps/pkpt11/markdown-snaps.md b/package/tests/testthat/_snaps/pkpt11/markdown-snaps.md index 4d20ccc300..9262d6b5f9 100644 --- a/package/tests/testthat/_snaps/pkpt11/markdown-snaps.md +++ b/package/tests/testthat/_snaps/pkpt11/markdown-snaps.md @@ -12,7 +12,7 @@ Comparison n Geometric Mean Ratio 90% CI Lower Bound 90% CI Upper Bound ——————————————————————————————————————————————————————————————————————————————————————————————————————————————————————— AUCinf obs (day*ug/mL) - C: Combination/A: Drug X 266 9.615e-01 9.247e-01 9.998e-01 + C: Combination/A: Drug X 266 0.962 0.925 1.00 Cmax (ug/mL) - C: Combination/A: Drug X 266 9.974e-01 9.583e-01 1.038e+00 + C: Combination/A: Drug X 266 0.997 0.958 1.04