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
Descriptive aliases for ETAs #15
Comments
i'd throw out a minor syntatic proposal of instead of
however could be overridden
or completely ignored if someone really wanted
|
Nice ... will do it. Thanks! |
This is how it's looking; and passing all the unit tests I already had in place. Trying to see where the other gotchas are going to be here. @vjd
$PARAM TVCL = 1, TVVC=30, TVKA=1.1
$CMT GUT CENT
$ADVAN2
$MAIN
pred_CL = TVCL*exp(ECL);
pred_VC = TVVC*exp(EVC);
pred_KA = TVKA*exp(EKA);
$OMEGA
prefix="E", labels = s(CL,VC,KA)
0.1 0.2 0.3
$CAPTURE ECL EKA TVCL pred_CL Also note that options are evaluated so you could do this (if you wanted): $OMEGA
labels=paste0("ETA_", s(CL,VC,KA))
1 2 3
$MAIN
pred_CL = TVCL*exp(ETA_CL);
// .... I don't see it usually working like that, but you could do it. |
This is a helpful suggestion @dpastoor and thanks for implementing this right away @kylebmetrum Kyle - you presumably take the same concept into $CMT that will allow extraction of the compartment numbers easier when referring |
I didn't update #13 yet, but here's what I did: $CMT DEPOT CENT PERIPH
$MAIN
F_DEPOT = 0.5;
D_CENT = 2.3;
ETC .... so you will get alias for From the data side, you can do this: data <- expand.ev(amt=1000, cmt=cmtn(mod,"DEPOT")) Or (not documented) mod %>% ev(amt=1000, cmt="DEPOT") %>% mrgsim %>% ... So if |
For example:
The text was updated successfully, but these errors were encountered: