Skip to contents

Function parses the errors and warnings observed while calculating the statistics requested in the ARD and prints them to the console as messages.

Usage

print_ard_conditions(x)

Arguments

x

(data.frame)
an ARD data frame of class 'card'

Value

returns invisible if check is successful, throws all condition messages if not.

Examples

# passing a character variable for numeric summary
ard_continuous(ADSL, variables = AGEGR1) |>
  print_ard_conditions()
#> The following warnings were returned during `print_ard_conditions()`:
#> ! For variable `AGEGR1` and "mean" and "median" statistics: argument is not
#>   numeric or logical: returning NA
#> ! For variable `AGEGR1` and "sd" statistic: NAs introduced by coercion