Matthew Fidler

Results 170 comments of Matthew Fidler
trafficstars

I this seems pretty nice. I also think it would be nice to use broom models to create a so called `anova` analysis. The first would be the parent and...

I think an example of stratifying by endpoints would be nice.

Actually, it seems: ```R plot(dv_vs_pred(xpdb) + ylab("Observed Nimotuzumab Concentrations (ug/mL)") + xlab("Population Predicted Nimotuzumab Concentrations (ug/mL)")) ``` gives the strange plots whereas: ```R dv_vs_pred(xpdb) + ylab("Observed Nimotuzumab Concentrations (ug/mL)") +...

Because of this, I'm unsure how to save plots to pdf in https://github.com/nlmixrdevelopment/nlmixr-examples/blob/master/case-study-nimotuzumab/Nimo.R If I don't plot them, they of course don't show up in the GOF page: https://github.com/nlmixrdevelopment/nlmixr-examples/blob/master/case-study-nimotuzumab/GOF-nimo.pdf

I did try the print method, but I was trying to be too clever: ```r dv_vs_pred(xpdb) + ylab("Observed Nimotuzumab Concentrations (ug/mL)") + xlab("Population Predicted Nimotuzumab Concentrations (ug/mL)") %>% print ```...

That is true; You could also use parentheses. `()`, but at that point I thought `print(...)` was easier and more readable than piping everything.

One last point/question; In your new version would you want ```r plot(xpdb) # where xpdb is the expose data object ``` To plot a common list of plots that are...

Hi @guiastrennec, That is what I do for RxODE objects; Plot plots a ggplot of the solved system and print gives the overview. I'm unsure what would break, but I...

For example stratifying by endpoints in a parent-metabolite model. Or stratifying by endpoints in a PK/PD example like: https://github.com/nlmixrdevelopment/nlmixr-examples/blob/master/case-study-warfarin/warfarin_PKPD_joint.R Here I wanted to plot by PK and PD endpoints for...

The default nlmixr plots for instance: https://github.com/nlmixrdevelopment/nlmixr-examples/blob/master/case-study-warfarin/warfarin-joint-focei.pdf