simodePlot a trace of the loss values and parameter estimates during
the integral-matching/nonlinear least squares optimization within a call to simode.
For the traces to exist, the arguments save_im_trace and/or
save_nls_trace in simode.control should be set to true,
when calling simode.
plot_trace(
x,
show = c("nls", "im", "both"),
which = NULL,
mfrow = par("mfrow"),
cols = list(nls_fit = "blue", im_fit = "green"),
...
)simode object returned by a call to simode.
Whether to plot the estimates obtained using nonlinear least squares ('nls'), integral-matching ('im') or both ('both').
Which parameters' traces to plot. If NULL, the
trace for all the parameters in x will be plotted.
A vector of the form c(nr,nc) setting the layout of
subplots in one plot (see also par).
List of colors for each element of the plot.
Additional argument(s) for methods.