Replies: 1 comment
-
|
Apologies for the delay in response! I don't remember seeing this come in 😬 The output does include raw and formatted values FYI. See the example below. The formatting functions can also be updated before passing the ARD to library(cards)
ADSL |>
ard_continuous(variables = AGE) |>
apply_fmt_fun()
#> {cards} data frame: 8 x 9
#> variable context stat_name stat_label stat stat_fmt
#> 1 AGE continuo… N N 254 254
#> 2 AGE continuo… mean Mean 75.087 75.1
#> 3 AGE continuo… sd SD 8.246 8.2
#> 4 AGE continuo… median Median 77 77.0
#> 5 AGE continuo… p25 Q1 70 70.0
#> 6 AGE continuo… p75 Q3 81 81.0
#> 7 AGE continuo… min Min 51 51.0
#> 8 AGE continuo… max Max 89 89.0
#> ℹ 3 more variables: fmt_fun, warning, errorCreated on 2025-07-28 with reprex v2.1.1 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi All,
I understand that the CARDS/X packages build the values you are to display in your tables in a metadata format. Is there a package available or a workflow available that converts this to the corresponding ARS format (i.e. raw values and formatted values in different fields)?
Similar to the example found here: https://wiki.cdisc.org/display/ARSP/results%3A+By+groupingId+and+groupId
Beta Was this translation helpful? Give feedback.
All reactions