-
dgr_table()
now provides geometric means by default -
gm()
now provides options to stripNA
values (na.rm
) and non-positive values (neg.rm
) before computation.
-
Added NCA parameter estimation to
calc_derived_1cpt()
,calc_derived_2cpt()
andcalc_derived_3cpt()
, if dose and other required information (e.g.tinf
,dur
,tau
) is provided. -
Added a warning about flip-flop kinetics and their potential effects on derived half-lives to
calc_derived_1cpt()
,calc_derived_2cpt()
, andcalc_derived_3cpt()
. -
Added
blq_trans()
andblq_log_trans()
for assistance with visualization of measurements below a limit of quantification. -
Added a test for valid XML to
read_nm()
. -
Small fixes and enhancements to
read_nmtable_single()
andread_nm_multi_table()
to ensure that stray text is properly handled while reading in NONMEM output files. -
count_na()
now throws a warning ifNaN
values are included in theNA
count, and indicates how many of them there are. -
Changed the significant digits functionality for 95% confidence intervals for
get_theta()
,get_omega()
andget_sigma()
, and all functions that apply these. -
Replaced
gridExtra
withpatchwork
. -
Numerous small fixes.
-
Removed some unnecessary dependencies.
-
Added many new unit tests, increasing test coverage considerably.
- Fixed some minor documentation issues. Thanks to Julien Grassot for spotting these.
-
Fixed another error in
sample_uncert()
which was still crashing the function. -
Added helper functions
count_na()
,dgr_table()
,gcv()
,fmt_signif()
. -
Added distribution plotting function
plot_dist()
.
- Fixed an error in
sample_uncert()
which was crashing the function.
-
Added vignette describing PK curves.
-
Fixed a systematic error in
calc_sd_1cmt_linear_oral_0_lag()
,calc_ss_1cmt_linear_oral_0_lag()
,calc_sd_2cmt_linear_oral_0_lag()
which resulted in incorrect curves being plotted.
-
Rewrote
plot_scm
function to produce tree diagrams viaDiagrammeR
. -
Fixed a rare bug in
get_auc
in which measurements from different individuals could be erroneously mixed. -
Amended (or added)
read_nm()
,read_nm_all()
,read_nmext()
,read_nmcov()
,read_nmtables()
functions to allow reading of multiple NONMEM estimation steps. -
Clarified documentation for
calc_derived()
. -
Now using
xml2
to read NONMEM-generated XML files. -
Fixed partial argument match warnings encountered during tests.
-
Add function for calculting geometric CV.