plot_iter: Plot iterations vs parameters/OBJ

View source: R/plot_iter.R

plot_iterR Documentation

Plot iterations vs parameters/OBJ

Description

[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.

Usage

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.

See Also

shiny_nm(), nm_render()


NMproject documentation built on Sept. 30, 2022, 1:06 a.m.