v0.2.3
NMdata 0.2.3
New Features
-
New function,
mergeCoal()is a coalesce-like merge
function.mergeCoal(x,y,...)overwrites values inxwith those iny, if
notNA. This is a flexible way to edit multiple values in adata.frame
through a single interface. -
NMreadParsText()supports formats including periods (.). There may still be
some special characters that are not supported. -
NMrelate()supports models that don't have all of$THETA,
$OMEGA, and$SIGMAsections.
Bugfixes
-
NMcanInput(and downstream functions likeNMscanDatadid not copy Nonmem
columns ($INPUTelements likeDV=OBS) correctly. It would not name the
secondary column as expected (which is, if name itOBSif not used in other Nonmem
column names, otherwiseOBSXwhereXis an integer makingOBSXa unique
column name). Fixed. -
NMextractFormats()was failing to capture format definitions
"format.omega" and "format.sigma" in control streams. Format
definitions including tabulator characters would also create
problems. A format definition is a comment documenting the format,
like "format: %idx - %symbol". Fixed. -
NMrelate()did not consider thesectionsargument. It does now
but with an important limitation: it can only be of lenght one. This
is of minor importance since it is only needed in the special case
that a parameter gets assigned to different variable names in
different sections. Normally, leaving out the argument is fine.