[R] PLOTTING ODE MODEL RESULTS USING PLOT.DESOLVE FROM THE DESOLVE PACKAGE

Mariam Idowu m@r|@mo|dowu1 @end|ng |rom gm@||@com
Tue Mar 25 15:02:30 CET 2025


Hi Everyone,

I trust this email finds you well, I am currently running an ODE model
using the plot.desolve method from the deSolve package. For context my
model is a box model with 75 boxes, therefore for each variable I will get
75 outputs.  I am currently comparing the results of my model
to observations, however adding a legend to each of these outputs seems to
be very difficult. The legend only appears at the last output which is the
75th box.
Does anyone know how this can be fixed?

Furthermore, I want to also add an RMSE metric that compares the distance
between my scenarios and observations using the deSolve package to quantify
how much the model has trailed away from the observations. I checked the
vignettes but did not see this incorporated.

Mariam.

	[[alternative HTML version deleted]]



More information about the R-help mailing list