-
Notifications
You must be signed in to change notification settings - Fork 28
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
Change detection of eta type variables #112
Comments
Thanks for the suggestion. This would however bring a problem to the |
Hi Ben I used this package - and it was easy to be maneuver as well adjustable. (fantastic job Ben) Thank you |
I just had the same issue as @MikeKSmith with my ETAs named: ETA(KA), ETA(CL), ETA(V1), ETA(Q2), ETA(V2), ETA(Q3), ETA(V3) |
@jeslo328 I guess an easy way to rename your panels would be through the labeller function: xpdb_ex_pk %>%
eta_distrib(xpdb = xpdb_ex_pk,
labeller = labeller(variable = c('ETA(1)' = 'ETA CL',
'ETA(2)' = 'ETA Vc',
'ETA(3)' = 'ETA Ka'))) |
@MikeKSmith and @billdenney I had not realized that so many modelers were using specific ETA names. I can see the value for this in the plot and that it need to be implemented in the next version of xpose. FYI the current code was developed to make use of |
@guiastrennec, I have moved to almost always using THETA and ETA naming so that I don't have to remember what the numbers of the parameters are. And, I made a suggestion to Bob Bauer a few weeks ago that will make them even more usable and useful; in the next version of NONMEM, you will be able to specify something like the following (syntax may be slightly different)
which will expand to
The same format will be available for After that is available, I doubt that I will ever use numbers again. |
Thanks for letting me know about this, it is very interesting! |
In read_nm_tables.R function index_table the variable detection for type eta is
stringr::str_detect(.$col, 'ETA\d+|ET\d+') ~ 'eta',
Consider changing to
stringr::str_detect(.$col, '^ETA|^ET') ~ 'eta'
to allow detection of ETA parameters by name e.g.
ETA_CL, ETA_V etc.
The text was updated successfully, but these errors were encountered: