units (#179)Added estimation method fmeMcmc which runs
FME::modMCMC(). It is also compatible with the
coda package; you can convert with
as.mcmc(fit) and then run coda tools like
coda::raftery.diag(coda::as.mcmc(fit2)).
Added estimation method pseudoOptim which runs
FME::pseudoOptim(). This estimation method requires all
parameters to be bound.
Added bug fix for rstudio completion
Use new nlmixr2est covariate selection enforcement for babelmixr2
Fix a bug where the NONMEM export isn’t working well (#839)
Check loaded rxode2 information and compare to what
the loaded model information should be. This allows better checking of
which model is loaded and even more robust stability. It requires
rxode2 > 3.0.2.
Fix bug where PopED could error with certain
dvid values
Fix bug where if/else clauses in the model could cause the model to not predict the values correctly.
Fix bug so that shrinkage() calculation
works
Fix bug so that you can mix 2 different PopED data
bases in an analysis without crashing R. While this didn’t occur with
every database clash, it more frequently occurred when you interleaved
PopED code between two different PopED
databases, like in issue #131.
Added a new function babelBpopIdx(poped.db, "par")
which will get the poped index for a model generated from
babelmixr2, which is useful when calculating the power (as
in example 11).
Added experimental PopED integration
Removed dependence on rxode2parse
Imported monolix2rx from the monolix2rx
package
Also allow conversion of a model imported from monolix to a
nlmixr2 fit.
Changed default NONMEM rounding protection to FALSE
Added a run option to the
monolixControl() and nonemControl() in case
you only want to export the modeling files and not run the
models.
Handle algebraic mu expressions
PKNCA controller now contains rxControl since it is
used for some translation options
This revision will load the pruned ui model to query the compartment properties (i.e. bioavailability, lag time, etc) when writing out the NONMEM model. It should fix issues where the PK block does not define some of the variables and will have a larger calculated variable that can be used in the model instead.
When nonmem2rx has a different lst
file, as long as nonmem2rx::nminfo(file) works, then a
successful conversion to a nlmixr2 fit object will
occur.
Fix to save parameter history into $parHistData to
accommodate changes in focei’s output
($parHist is now derived).
Changed the solving options to match the new steady state options
in rxode2 and how NONMEM implements them. Also changed the
iwres model to account for the rxerr. instead of the
err. which was updated in rxode2 as
well.
Add new method as.nlmixr2 to convert
nonmem2rx methods to nlmixr fits
Dropped pmxTools in favor of nonmem2rx
to conserve some of the methods
Babelmixr has support for “monolix”, “nonmem”, and “pknca” methods on release.
Added a NEWS.md file to track changes to the
package.