You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks @albertopessia for this user-friendly and well-documented package.
When I try to plot multiple dose-response curves in the same plot, the curves get distorted - due to change(s) in x or y axes. Consider the following example:
When you call plot(m1, m2) the function is trying its best to automatically choose a good range for both axis. Sometimes, like in your case, it fails to find a good-looking option. The solution is to choose manually the preferred range, like you correctly guessed.
I have instead the following comments to your example:
m2 does not look a very good fit because of the growth rate range you chose. Try to fix only the minimum and maximum of the curve and leave the growth rate free to vary.
you can move the legend to a more convenient location using the argument legend_location, for example plot(m1, m2, xlim = c(-7, 1), legend = c("Model 1", "Model 2"), legend_location = "topright")
Thanks @albertopessia for this user-friendly and well-documented package.
When I try to plot multiple dose-response curves in the same plot, the curves get distorted - due to change(s) in x or y axes. Consider the following example:
Defining axis limits appears to be the only working solution:
Is there something obvious I am missing here or is this the expected behavior?
The text was updated successfully, but these errors were encountered: