You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the example below, (etad,etaf) exists but with only neta1 and not neta2. I think that the important part is pulling an eta from more than one block eta at the same time.
library(nlmixr2)
#> Loading required package: nlmixr2datamod<-function() {
ini({
a<-1b<-2etaa+etab~ c(3, 0.1, 4)
c<-5etac~6d<-7f<-9etad+etaf~ c(8, 0.2, 10)
})
model({
g<- (a+etaa)/(b+etab)
h<- (c+etac)
i<- (d+etad)
j<-f+etaf
})
}
mod_new<-
ini(
nlmixr(mod),
etab+etac+etad~
c(7,
0.2, 8,
0.3, 0.4, 9),
etaa~0
)
#> ℹ some correlations may have been dropped for the variables: `etab`, `etac`, `etad`#> ℹ the piping should specify the needed covariances directly#> ℹ change initial estimate of `etab` to `7`#> ℹ add covariance between `etac` and `etab` with initial estimate `0.2`#> ℹ change initial estimate of `etac` to `8`#> ℹ add covariance between `etad` and `etab` with initial estimate `0.3`#> ℹ add covariance between `etad` and `etac` with initial estimate `0.4`#> ℹ change initial estimate of `etad` to `9`#> ℹ change initial estimate of `etaa` to `0`mod_new$iniDf#> ntheta neta1 neta2 name lower est upper fix label backTransform#> 1 1 NA NA a -Inf 1.0 Inf FALSE <NA> <NA>#> 2 2 NA NA b -Inf 2.0 Inf FALSE <NA> <NA>#> 3 3 NA NA c -Inf 5.0 Inf FALSE <NA> <NA>#> 4 4 NA NA d -Inf 7.0 Inf FALSE <NA> <NA>#> 5 5 NA NA f -Inf 9.0 Inf FALSE <NA> <NA>#> 6 NA 1 1 etaa -Inf 0.0 Inf FALSE <NA> <NA>#> 11 NA 2 NA (etad,etaf) -Inf 0.2 Inf FALSE <NA> <NA>#> 12 NA 2 2 etaf -Inf 10.0 Inf FALSE <NA> <NA>#> 8 NA 3 3 etab -Inf 7.0 Inf FALSE <NA> <NA>#> 9 NA 4 4 etac -Inf 8.0 Inf FALSE <NA> <NA>#> 10 NA 5 5 etad -Inf 9.0 Inf FALSE <NA> <NA>#> 13 NA 4 3 (etab,etac) -Inf 0.2 Inf FALSE <NA> <NA>#> 14 NA 5 3 (etab,etad) -Inf 0.3 Inf FALSE <NA> <NA>#> 15 NA 5 4 (etac,etad) -Inf 0.4 Inf FALSE <NA> <NA>#> condition err#> 1 <NA> <NA>#> 2 <NA> <NA>#> 3 <NA> <NA>#> 4 <NA> <NA>#> 5 <NA> <NA>#> 6 id <NA>#> 11 id <NA>#> 12 id <NA>#> 8 id <NA>#> 9 id <NA>#> 10 id <NA>#> 13 id <NA>#> 14 id <NA>#> 15 id <NA>
In the example below,
(etad,etaf)
exists but with only neta1 and not neta2. I think that the important part is pulling an eta from more than one block eta at the same time.Created on 2023-05-04 with reprex v2.0.2
The text was updated successfully, but these errors were encountered: