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
When translating a mu referenced model, everything works perfect. However I have been doing some testing with a model that does not have mu referencing and got an error message that I could not really explain. I have included a reproducible example below. Please let me know if you need some additional information
mumod <- function() {
ini({
tka <- 0.45 # Log Ka
tcl <- -7 # Log Cl
tv <- -8 # Log V
eta.ka ~ 0.6
eta.cl ~ 0.3
eta.v ~ 0.1
prop.sd <- 0.7
})
model({
ka <- exp(tka + eta.ka)
cl <- exp(tcl + eta.cl)
v <- exp(tv + eta.v)
d/dt(depot) = -ka * depot
d/dt(center) = ka * depot - cl / v * center
cp = center / v
cp ~ prop(prop.sd)
})
}
nonmumod <- function() {
ini({
tka <- 0.45 # Log Ka
tcl <- 0.009 # Log Cl
tv <- 0.003 # Log V
eta.ka ~ 0.6
eta.cl ~ 0.3
eta.v ~ 0.1
prop.sd <- 0.7
})
model({
ka <- tka * exp(eta.ka)
cl <- tcl * exp(eta.cl)
v <- tv * exp(eta.v)
d/dt(depot) = -ka * depot
d/dt(center) = ka * depot - cl / v * center
cp = center / v
cp ~ prop(prop.sd)
})
}
When translating a mu referenced model, everything works perfect. However I have been doing some testing with a model that does not have mu referencing and got an error message that I could not really explain. I have included a reproducible example below. Please let me know if you need some additional information
So this works as expected:
But got an error with the second model
The text was updated successfully, but these errors were encountered: