# Generate a table of statistical summaries of pharmacokinetic parameters

PK parameters are summarized by a set of statistical values. The function acknowleges the reliability of NCA parameters and only includes reliable ones.

table_summary_PKpars_IQnca(
data,
stratify_by = c("GROUPN", "PROFILE"),
statistics = c("MEAN", "SD", "CVPMN", "GMEAN", "CVPGM", "MEDIAN", "MIN", "MAX"),
table_number = NULL,
table_split_by = NULL,
table_cols = c("PROFILE", "GROUP"),
table_pkpars = "standard",
labels = NULL,
roundfun = signif,
digits = c(MEAN = 3, SD = 3, CV = 3),
fontsize = 8,
page_orientation = c("landscape", "portrait"),
filename = NULL
)

## Arguments

data

IQnca object with individual PK parameters

stratify_by

Columns that define the groups that are summarized

statistics

Statistics to be calculated and displayed. Defined by charater vector of shortnames:

 Short name Description ============ =========== N Number of subjects MEAN Arithmetic mean SD Arithmetic standard deviaion CVPMN Arithmetic coefficient of variation (percent) CI95MN 95% confidence interval for arithmetic mean CI90MN 90% confidence interval for arithmetic mean GMEAN Geometric mean GSD Geometric standard deviaion CVPGM Geometric coefficient of variation (percent) CI95GM 95% confidence interval for geometric mean CI90GM 90% confidence interval for geometric mean MEDIAN Median MIN Maximum value MAX Minimum value
table_number

Character string with table number information, added to the title for each table, if defined

table_split_by

Column to split tables by (defaults to NULL, hence, only single table produced)

Common information for split to be displayed above table

table_cols

Columns to be displayed before the summary statistics

table_pkpars

Character string defining the PK parameters to report in the table By default these parameters will be selected based on the "Standard" parameters defined in the IQparamNCA_Specification.xlsx document, subject to the profile and administration type. The user can select "All" or "Standard". Alternatively, parameterReport can also be a vector or parameter names (based on PKPARAMCD in IQparamNCA_Specification.xlsx). Instead of the standard or all ones then these will be considered in the listing (also subject to profile and administration type).

labels

Customized labels for columns that substitute the column name in the IQdataNCA object. Applies to 'table_head', 'table_cols', and the entries of 'table_compare'

roundfun

Rounding function to be used (defaults to signif)

digits

Number of digits to be used for rounding

fontsize

Fontsize to be used in the table

page_orientation

Page orientation, 'landscape' or 'portrait'

filename

Filename to export the table IQRrmd object to

## Value

An IQRrmd object exported to a file or IQncaTableList

Other TLF customized: figure_indivConc_IQdataNCA(), figure_lines_IQdataNCA(), figure_summary_IQdataNCA(), listing_PKconc_IQdataNCA(), listing_PKpars_IQnca(), table_summary_PKconc_IQdataNCA()
if (FALSE) {