Note that backward compatibility of function arguments will not be (near-)guaranteed until version 1.0. Argument and function changes will continue until then. These will be especially noticeable around the inclusion of IV NCA parameters and additional specifications of the dosing including dose amount and route.
aucabove.trough.all
was added to
calculate the NCA above the trough concentration.units
argument to the PKNCAdata()
function and the function pknca_units_table()
.impute
argument to the PKNCAdata()
function
and the Data Imputation vignette.summary()
on a PKNCAresults object shows the units in
the column heading.as.data.frame()
on a PKNCAresults object
with the argument out.format="wide"
, if standardized units
values are available, they will be used. And if any unit are available,
they will be in the column names.summary()
.
pretty_names=FALSE
when calling the summary()
function.pk.calc.time_above()
now uses the default AUC
calculation method for interpolation of time above. And, it can use ‘lin
up/log down’ interpolation.conc_above
as a column to the intervals to allow
calculation of time_above
. With this change, the
“conc_above” PKNCA.options()
value has been removed.getData()
functions were removed.getDataName()
function for PKNCAdata objects was
removed.interpolate.conc()
and
interp.extrap.conc()
now give more errors with missing (NA)
input. This should not affect typical NCA (where NA values are dropped),
but it may affect direct calls to the functions themselves.time_calc()
function will help convert
time values to be relative to events (such as calculating time after and
before doses).lm.fit()
instead of lm()
decreasing time for
a full NCA run by ~30% (and half-life by ~50%).plot.PKNCAconc()
was moved to the
pknca.reporting package
(https://github.com/billdenney/pknca.reporting)summary.PKNCAresults()
now provides a
caption including the summary method for each parameter. If you change
summary functions using PKNCA.set.summary()
, you must now
use the description
option to set the description of the
summary.PKNCAdata()
(fix #72)PKNCAresults
objects.PKNCAdata()
is more restrictive on unknown arguments
issuing an error when unknown arguments are present.intervals
argument to PKNCAdata()
may now
be a tibble (fixes #72).pk.nca
(Fix #68)BACKWARD INCOMPATIBILITY: The function supplied to the exclude argument ‘FUN’ now requires two arguments and operates on the level of a single group rather than the full object. The function can also return the reason as a character string instead of a logical mask of when to exclude data.
BACKWARD INCOMPATIBILITY: Added back-end functionality to only require one function to handle many NCA parameters that are related (e.g. combine pk.calc.aucpext, pk.calc.aucpext.obs, pk.calc.aucpext.pred, etc.). If your current code calls a specific function (like pk.calc.aucpext.pred), you must change to using the generic function (like pk.calc.aucpext)
BACKWARD INCOMPATIBILITY: Functions that previously may have returned Infinity due to dividing by zero (e.g. when AUC=0 calculating clearance) now return NA.
Added Validation vignette.
Corrected issue where time to steady-state with a single estimate may have given more than one estimated time to steady-state.
Corrected issue with exclude handling where now a blank string is also accepted as included (not excluded).
PKNCAconc now accepts a “volume” argument and pk.nca can now calculate urine/feces-related parameters (fe, ae, clr)
exclude_nca* functions added (Fixes issue #20)
Add manual half-life point selection (Fixes issue #18)
Improved summary settings (Fixes issue #54)
Add parameters for Ceoi and intravenous MRT
Updated vignettes to improve clarity
Added dose-normalized PK parameters (Fixes issue #41)
Added checks to confirm that concentration and time are numeric (Fixes feature request #40)
Improved test coverage
This release is not backward compatible. The switch to observed and predicted-related NCA parameters (like aucinf.obs and aucinf.pred) changed the format of the intervals specification.
First release targeting CRAN