Creates individual-level listings of PK parameters from ADPP data using the
same engine as l_pkcl01(). Returns one listing per unique combination of
listgroup_vars (default: PPCAT x PPSPEC).
Arguments
- data
A CDISC ADPP data frame (from
export_cdisc()$adpp).- listgroup_vars
Character vector of columns used to split the output into separate listings. Default:
c("PPCAT", "PPSPEC").- grouping_vars
Character vector of key/header columns within each listing (shown as indented row keys). Default:
c("TRT01A", "USUBJID").- param_var
Column whose unique values become display columns after pivoting wide. Default:
"PARAM".- value_var
Column containing the numeric analysis value. Default:
"AVAL".- unit_var
Column containing the parameter unit used to build column headers (
"<PARAM> (<unit>)"). Default:"AVALU".- title
Main listing title string.
- subtitle
Per-listing subtitle. Supports
$VAR/!VARannotation syntax. Defaults to the unique values oflistgroup_vars.- footnote
Footnote string.
- ...
Additional arguments forwarded to
l_pkpl01().
Value
A named list of listing_df objects (one per listgroup_vars
combination), suitable for printing in a Shiny verbatimTextOutput.
Functions
l_pkpl01_mp(): Listing filtered to metabolite rows (pkpl01 M/P). Uses the same METABFL -> PPCAT -> PARAM fallback ast_pkpt03_MP_col().
Examples
if (FALSE) { # \dontrun{
adpp <- export_cdisc(res_nca)$adpp
listings <- l_pkpl01(adpp)
print(listings[[1]])
} # }