Table summarizing the available observations

Statistics on number of subjects, samples, records below LLOQ, and ignored records are calculated and presented. Counts are stratified per default by profile.

summaryObservations_IQdataNCA(
  data,
  stratifyBy = "PROFILE",
  labels = NULL,
  tableTitle = NULL,
  footerAddText = NULL,
  filename = NULL,
  FLAGpatients = FALSE,
  FLAGtotal = TRUE,
  digits = 4,
  report = NULL
)

Arguments

data

IQncaData

stratifyBy

character vector defining the columns used for stratification (default: Profile)

labels

Named vector with labels that should be used as names for stratification column(s)

tableTitle

Table title

footerAddText

Note to be added to table footer

filename

filename to print table to

FLAGpatients

whether to use the term "patients" instead of "subjects"

FLAGtotal

whether a row with the total numbers should be added

digits

Number of significant digits for rounding of percentages

report

Argiment to IQRoutputTable whether to prepare the table for reporting

Value

IQRoutputTable if no filename given. If filename is given, table is printed to file and nothing is returned.

Examples

if (FALSE) {
summaryObservations_IQdataNCA(
  data = dataNCA,
  stratifyBy    = c("GROUP", "ANALYTE"),
  labels = c("GROUP" = "Dose", "ANALYTE" = "Analyte"),
  filename = "summary_observations.txt"
)
}