[Stable]

Non interactive ggplot2 based version of the OFV/parameter vs iteration plot in shiny run monitor shiny_nm(). Used mainly for inclusion in diagnostic reports.

plot_iter(r, trans = TRUE, skip = 0, yvar = "OBJ")

Arguments

r

An nm object.

trans

Logical (default = TRUE). Should parameter transformations be performed in accordance with $THETA/$OMEGA/$SIGMA comments

skip

Numeric (default = 0). The number of iterations to skip when plotting. For observing stationarity it is often useful to remove the beginning iterations where the OFV and parameters may move a lot.

yvar

Character (default = "OBJ"). Name of variable/parameter to display.

Value

A ggplot2 object.