pk_table_subfun: Subfunction for pk_table. FOR INTERNAL PACKAGE USE.

View source: R/pk_table_subfun.R

pk_table_subfunR Documentation

Subfunction for pk_table. FOR INTERNAL PACKAGE USE.

Description

Subfunction for pk_table. FOR INTERNAL PACKAGE USE.

Usage

pk_table_subfun(
  sim_data_file,
  PKparameters,
  existing_exp_details,
  conc_units,
  MeanType,
  GMR_mean_type,
  includeTrialMeans,
  use_median_for_tmax
)

Arguments

sim_data_file

sim_data_file

PKparameters

data.frame that includes Tissue, CompoundID, and Sheet

existing_exp_details

harmonized existing_exp_details

conc_units

how to convert conc units, if desired

MeanType

main mean type

GMR_mean_type

GMR mean type

includeTrialMeans

determines whether to get individual data w/extractPK

use_median_for_tmax

T or F

Value

a list of 1) "PK" - a data.frame of unformatted simulated and, when supplied, observed PK data with the columns Stat, PKParam, and Sim. NOTHING has been rounded. 2) "PKrequested" - which PK parameters were requested, 3) "PKpulled" - which PK parameters were successfully pulled, 4) "QC" - QC info, 5) "ForestData" - forest data formatted appropriately for the forest_plot function, and 6) "CheckDoseInt" - list of the message and dosing interval data

Examples

# none

shirewoman2/Consultancy documentation built on Feb. 18, 2025, 10 p.m.