The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.
A saved nlmixr2 fit normally travels with the data it
was fit to: the subject-level dataset is stored inside the
.zip (as origData) and, for a standard fit, so
is the returned per-observation prediction/residual table. That is
convenient for your own re-use, but it is often exactly what you cannot
share – the data may be confidential, licensed, large, or simply not
yours to distribute.
nlmixr2save lets you export a fit without the
original data, and optionally without the output
tables as well.
saveFit() takes a data argument. With
data = FALSE, the original dataset is left out of the
zip:
To make that the default for a whole script or report, set the option:
The saved fit is otherwise complete: it still contains the model, the parameter estimates, and (for a standard fit) the prediction/residual columns. Only the input dataset is gone.
Removing data is not free. The stripped fit still loads, prints, and reports its parameter estimates, but anything that needs what you removed will not work.
Without the original data (-noData, or
saveFit(data = FALSE)):
fit$origData is absent.vpcSim() / tidyvpc), re-deriving
residuals or predictions (augPred(),
addCwres(), addNpde(), …), and re-fitting or
updating the model.Without the output tables (-noData-noFit,
noFit = TRUE):
nlmixr2FitCore (an environment),
not a nlmixr2FitData data frame – there is
no per-observation table, so as.data.frame(fit) has no rows
and plots/diagnostics that need those rows will not work.parFixed /
parFixedDf), objective (objDf), covariance
(omega), eta table (etaObf), and parameter
history (parHistData) remain – enough to inspect and report
the fitted model.-noData).The data option affects saveFit() and
nlmixr2saveShare() only. The := caching
operator is intentionally left unchanged: it re-attaches the data from
the live call on restore, so its cache continues to behave as
before.
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.