This function processes the results from a PKNCA and exports them into CDISC compliant datasets. Attention: All parameters that do no match pptest dataframe will be lost in this pipeline!
Usage
export_cdisc(res_nca, grouping_vars = character(0), flag_rules = NULL)Arguments
- res_nca
Object with results of the NCA analysis.
- grouping_vars
Character vector of non-standard grouping variable names to include as additional columns in ADNCA, ADPP, and PP outputs. Defaults to
character(0).- flag_rules
Character vector of flag rule exclusion messages applied during NCA (e.g.,
c("R2ADJ < 0.8", "AUCPEO > 20")). Each entry generates a CRITy/CRITyFL column pair in ADPP, plus PPSUMFL and PPSUMRSN columns. Defaults toNULL(no flags).