-
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
Feature Request: Allow rxSolve to take in an un-solved nlmixr function definition #550
Comments
This is what I thought you were requesting in nlmixrdevelopment/RxODE#442 Is this a duplicate of the issue or am I missing something. |
The only marginal/subtle difference is the use of |
The only possible difference is |
That sounds possibly like a difference. Up to you if it is a separate issue or not. My underlying preference is that from a user's perspective, |
While I haven't fixed this yet, I have added the ability to save information before a RxODE solve is started. This may make the reprex easier to generate. With the github version of RxODE and nlmixr, you would simply use: options(RxODE.debug = TRUE) The solve information will be saved in "last-rxode.qs" which can be read by This file is a list containing:
This way you can get the model you are trying to reproduce without the bother of trying to figure out what nlmixr is doing to the model before it gets to where you are at. I think this backdoor is useful for debugging |
That sounds helpful. I think that this information would be helpful in a "contributing" guideline or some other way to describe how to submit bugs and reprexes. |
I agree. Documentation is lagging. Maybe even a CRAN type of issue |
I also think that a function which can simulate an un-solved nlmixr model will be helpful. |
It will be coming in |
Related to #548 in that I'm still trying to make that simulation...
It would be helpful if rxSolve could allow the object to be an nlmixr function definition (i.e. a function with an
ini()
andmodel()
).An example of the desired functionality is below. If that is out of scope, a clearer error message would help rather than "
rxSolveSEXP(object, .ctl, .nms, .xtra, params, events, inits, : Not compatible with STRSXP: [type=NULL].
"Created on 2021-07-26 by the reprex package (v2.0.0)
The text was updated successfully, but these errors were encountered: