diff --git a/articles/estimating.html b/articles/estimating.html index 3551d66..49104e7 100644 --- a/articles/estimating.html +++ b/articles/estimating.html @@ -96,20 +96,6 @@
nlmixr2targets
-Model modifications to use nlmixr2targets
-
-When running a model with nlmixr2targets
, it must be
-interpretable by the targets
package. The only notable
-issue comes from setting initial conditions for a compartment, such as
-using pd(0) <- initialConc
. The reason this doesn’t work
-is the targets
package does not allow the assignment into
-zero. So, for any initial conditions, you will need to set them with
-initial
instead of 0
. The example above would
-be pd(initial) <- initialConc
, and
-nlmixr2targets
will convert it to the model
-nlmixr2
expects for you.
-
-
Running one model with one dataset (tar_nlmixr()
)
The tar_nlmixr()
function allows you to estimate one
diff --git a/pkgdown.yml b/pkgdown.yml
index 85b2afc..0299d08 100644
--- a/pkgdown.yml
+++ b/pkgdown.yml
@@ -3,7 +3,7 @@ pkgdown: 2.0.7
pkgdown_sha: ~
articles:
estimating: estimating.html
-last_built: 2024-03-08T19:54Z
+last_built: 2024-03-09T20:25Z
urls:
reference: https://nlmixr2.github.io/nlmixr2targets/reference
article: https://nlmixr2.github.io/nlmixr2targets/articles
diff --git a/reference/tar_nlmixr.html b/reference/tar_nlmixr.html
index d69850d..54a1298 100644
--- a/reference/tar_nlmixr.html
+++ b/reference/tar_nlmixr.html
@@ -69,7 +69,8 @@
Usage
data,
est = NULL,
control = list(),
- table = nlmixr2est::tableControl()
+ table = nlmixr2est::tableControl(),
+ env = parent.frame()
)
tar_nlmixr_raw(
@@ -80,7 +81,8 @@ Usage
control,
table,
object_simple_name,
- data_simple_name
+ data_simple_name,
+ env
)
@@ -127,6 +129,11 @@ ArgumentsUsage
est,
control = list(),
table = nlmixr2est::tableControl(),
- envir = parent.frame()
+ env = parent.frame()
)
@@ -105,9 +105,9 @@