-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"subscript out of bounds" during SAEM model setup #561
Comments
Continuing to try to make a reprex; there is an unusual feature to me that obj$saem.eta.trans within |
Hi Bill, The I always struggle remembering the use of Would that reflect your data? |
Hmm... I just checked, and the only covariates in the model are non-time-varying. (The only covariates is baseline body weight, and I confirmed that every ID has a single baseline body weight value). And, in my test data, the way I was setting baseline body weight was the same (non-time-varying). I'll keep looking or trying to make a share-able reprex. |
I'm working to generate a reprex for this, but as usual the data and model are proprietary
I have a moderate-complexity model that gets a "subscript out of bounds" error in
nlmixrUI.saem.model.omega()
due to the fact thatetd
goes up to 18 butdm
is only 17. So, the matrix dimension is not big enough for the etas (if I'm reading the code correctly).nlmixr/R/ui.R
Lines 3153 to 3162 in 9fc906a
One challenge with making a reprex is that when I use the same model but much simpler data,
obj$env$.bpars
innlmixrUI.saem.model.omega()
is NULL instead of having a function body.This is with nlmixr 2.0.5, RxODE 1.1.1, lotri 0.3.1, and R 4.1.0.
The text was updated successfully, but these errors were encountered: