| NEWS | R Documentation |
News for Package wnl
Version 0.8.6 (2026-07-26)
-
nlrandwnl5no longer fail with "cannot change value of locked binding" when the user's workspace happens to contain an object namede. -
nlrrecomputes the predictions at the final estimates, so thatPrediction,Residual, the run test anddxno longer use the values left behind by the last hessian evaluation. -
nlrno longer stops with an uninformative error when the estimated error variance is very small; a non-positive variance is now penalised instead of producing NaN. -
nlrwith Error="NOSG" works; the count of free error variance parameters was computed from a reversed sequence. Error="NOSG" is now documented. -
ExpandDHno longer overwrites theCMTof other dose records that fall inside an infusion interval, which sent a bolus into the wrong compartment. -
ExpandDHcopies ID and covariates into the row it inserts at the end of an infusion, instead of setting every column to zero. The returned table is always sorted by TIME. -
hSkewfinds the predictors from the model data rather than fromterms, which failed or silently used same-named objects from the workspace. -
nComphandles Ka equal to an eigenvalue, which gave NaN. -
cmpChireturns 1 rather than 0 for two models of equal fit, and for a larger model that fits worse. -
pCompreturns quietly when there is no rate to draw, and detects elimination by compartment number instead of compartment count. -
SolComp3is robust to round-off near repeated roots. -
pProfdraws the likelihood interval labels slightly above the curve minimum, so that they no longer overlap the profile curve. -
numDeriv moved from Depends to Imports, since only
hessianis used. It is no longer attached to the search path bylibrary(wnl); load it yourself if your own code calls it. Contact field added for bug reports.
Version 0.8.5 (2026-03-08)
Minor bugs/errata fix and refactored using Claude Code.
Version 0.8.4 (2025-09-08)
Default k value is adjusted to be more conservative.
Version 0.8.3 (2025-02-23)
A bug in ExpandDH is fixed.
Version 0.8.2 (2025-02-21)
logk in nlr adjusted
Version 0.8.1 (2024-05-31)
g2inv utility function bug with p=0 fixed.
Version 0.8.0 (2024-02-22)
g2inv utility function is revised to handle non-square matrix.
Version 0.7.3 (2023-04-25)
Default k value in nlr() is adjusted.
Version 0.7.2 (2023-03-26)
If hessian matrix is singular, g2inv() is used instead of solve().
If k option in nlr() is missing, recommended k for conf.level is used.
pProf() improved and exposed
EnvObj() introduced
Version 0.7.1 (2022-11-28)
pProf() bug fixed for NaNs
Version 0.7.0 (2022-10-28)
hSkew() function added
nlr function returns 1/8 likelihood interval which is similar to 95 percent CI.
pProf() internal function plots likelihood profile and interval for the last nlr() run.
Version 0.6.4 (2021-11-22)
Minor beautification of the script - more spaces
-
dxmade compatible for rmarkdown; it further checks the default graphic parameter.
Version 0.6.3 (2021-09-06)
-
pCompoption Col for compartment color added. -
pCompoption asp=1 should be provided if you need.
Version 0.6.2 (2021-08-07)
-
pCompfor plotting compartment model diagram is added.
Version 0.6.1 (2020-08-15)
-
qr.solveis used instead ofsolve. Documents enhanced.
Version 0.6.0 (2020-07-14)
-
nlrfunction gained Error="S" (scale) option. This enables GLS.
Version 0.5.1 (2019-06-09)
DAT table changed.
Version 0.5.0 (2019-05-09)
Analytical solutions of compartmental models added.
Version 0.4.2 (2018-09-30)
Combined error with fixed additive variance model added.
Version 0.4.1 (2018-05-02)
Errata in manual corrected.
Version 0.4.0 (2018-04-02)
-
dxfor simplest diagnostic plot is added. -
nlrandwnl5returns more. -
nlrchecks arguments more. Better p-value from
cmpChi.
Version 0.3.3 (2018-03-01)
-
nlrreturns more information. -
cmpChiis newly introduced.
Version 0.3.2 (2017-11-30)
-
Methodargument added.
Version 0.3.1 (2017-10-13)
-
Secondaryargument added.
Version 0.3.0 (2017-10-03)
-
wnl5added.
Version 0.2.0 (2017-09-10)
Changed interface.
Version 0.1.0 (2017-09-01)
First version