nlmixr2 / nlmixr2plot

Plotting support for nlmixr2
https://nlmixr2.github.io/nlmixr2plot/
GNU General Public License v3.0
2 stars 0 forks source link

How much to move? #1

Closed billdenney closed 2 years ago

billdenney commented 2 years ago

@mattfidler , As I'm creating this by extracting the plotting functions from nlmixr2, I'm curious of your opinion: How much should we move?

My initial thought was that I should move everything that does plotting from nlmixr2 into this package as the first pass. My goal in that was that anything that was ggplot2-related outside of vignettes should come here. And, it should be extensive enough that ggplot2 could change from being an import (required for running the package) to a suggested package (only required for vignettes).

That was a bit more extensive than I initially thought it would be, so I have a few questions to confirm with you:

Harder questions:

billdenney commented 2 years ago

Similar to the above, should the following move from rxode2 to here:

billdenney commented 2 years ago

As I'm thinking a bit more about it, perhaps VPC fits best in the "support" package. Maybe call it nlmixr2extra to align with some other packages' "extra" package names?

mattfidler commented 2 years ago

Keep the vpcSim in nlmixr2est it is the same function that is used for calculating NPDE/NPD. The vpcPlot can move to plot or support

mattfidler commented 2 years ago

Similar to the above, should the following move from rxode2 to here: I would only want to move the following functions from rxode2:

rxode2 should stand alone. If you move it to a separate package all of these plot functions are not available without an additional dependency. Since the dependency count is too large as it is, keep the rest there.

mattfidler commented 2 years ago

From nlmixr2 That was a bit more extensive than I initially thought it would be, so I have a few questions to confirm with you:

These can be moved:

mattfidler commented 2 years ago

However bootstrapFit should be left alone right now. The plot requires a different set of models to be evaluated and it definitely not a plot-only item for now.

billdenney commented 2 years ago

It's all moved, now.