Release Notes
New features and changes
-
New model tree feature:
bbr
now allows you to visualize anyrun_log()
as
an interactive model tree diagram viamodel_tree()
. This function allows
users to easily visualize and track the modeling process for a given project
and display any information available in arun_log()
, such as model summary
information, configuration options, and more. See the vignette here (#673). -
New
run_nmtran()
function for runningNM-TRAN
on a model object to validate
its control stream for correct coding before submission. TheNM-TRAN
dataset
(FDATA
) and otherNONMEM
artifacts can be further inspected by keeping the
run directory around (#705). -
nm_data()
now has afilter
argument, allowing the user to filter data based
onIGNORE LIST
orACCEPT LIST
options defined in the$DATA
record of a
NONMEM
control stream file (#711). -
setup_bootstrap_run()
now has adata
argument, allowing users to provide
their own starting dataset to resample from. This defaults toNULL
, which
will use the output fromnm_data(.boot_run, filter = TRUE)
(#707, #711).
Bugs addressed
- Bootstrap adjustment: previously
setup_bootstrap_run()
assumed aNUM
column
was present in the input dataset (the default.join_col
innm_join()
).
nm_join()
was being used in the back-end to create the starting dataset to
resample from; the intention being to only include subjects that entered the
original problem. Given thenm_join()
use, this also required that the original
model had finished executing before bootstrapping. Rather than usingnm_join()
by default, we now usenm_data(.boot_run, filter = TRUE)
. This both fixes the
aforementioned bug and removes the requirement that the base model (model being
bootstrapped) has been executed. If the model has been executed, however, we will
check the number of records to ensure the filtering was done correctly (#707, #711).