Skip to content
Discussion options

You must be logged in to vote

Hi @JoanaXu -

Thanks for reaching out and for sharing the code. I think the model is really close. I've put some suggestions in revised model code below:

  1. Make GENDER and WT parameters for the model; this will let you update them either from your R code or from the data (see this page in the user guide for more info).
  2. Doses (amt) should be set in the data set (see code below)
  3. For this model, you don't need to tell the model itself the ROUTE (iv or po); just set up the model for either and then dose into GUT or CENT (compartment 1 or 2) as bolus (RATE = 0) or infusion (RATE > 0); all of this is handled in the input data set
  4. Specifically, there is a single set of differential equations for …

Replies: 8 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by kylebaron
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants