Skip to contents

All functions

apply_pknca_options()
Read settings from a JSON file, and pass to PKNCA.options()
check_nca_grouping()
Check that grouping specified to PKNCA is likely to be correct If the grouping results in most groups having too few datapoints to perform NCA and calculate half-life, then the grouping is likely wrong.
create_nca_table()
Create a table for NCA results
get_nca_individual_fits()
Extract individual fit data from a PKNCA results object, and return as data.frame convenient for plotting.
get_parameter_names_from_nca_data()
Get parameter names from a run_nca() output object
get_pk_parameters_from_pknca_options()
When PKNCA::PKNCA.options() is invoked without arguments, it will return a list of its configuration. Among the options is the data.frame single.dose.aucs which will list the exported PK parameters for both the AUC0-24 and AUCinf computations. Wherever the parameters are set to TRUE PKNCA will compute those and include in output. So in that case we can use those parameters as well and should make them available in the output from run_nca().
get_treatment_sequence()
Function to generate a sequence variable for e.g. a crossover trial design
is_set_to_inf()
Is value meant to be Inf?
is_set_to_missing()
Is value meant to be NA?
map_nca_settings()
Map user-provided NCA settings to NCA engine (e.g. PKNCA)
nca_add_auctau()
Add AUCtau to the NCA output, if multi-dose PK data
nca_admiral
Example data for NCA
nca_post_accumulation()
NCA post-processing function to calculate accumulation rate
nca_post_bioavailability()
NCA post-processing function to calculate relative bioavailability
parse_data_for_nca()
Parse data into dataset for NCA
parse_exclusions()
Helper function to get a mask based on a list of vectors with identifiers. This function is used to gather exclusions in the run_nca() function.
parse_pknca_opts_from_spec()
Get the PKNCA options from a spec file, and parse into expected format for PKNCA::PKNCA.options()
read_spec_from_file()
Read specification from metadata file
remap_core()
Core remapping function
remap_nca_output()
Function to export output from PKNCA to CDISC- or other mappings
run_nca()
Run a non-compartmental analysis
run_nca_superposition()
Run an NCA on superpositioned data, either just extrapolated to steady state for the current dose levels, or using linear extrapolation to a different dose and interval.
set_pknca_interval_parameters()
Creates a data.frame specifying start and end time, and stores it as option single.dose.auc in PKNCA.options()