plot_iter: Plot iterations vs parameters/OBJ

Description Usage Arguments Value See Also

View source: R/plot_iter.R

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

1
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 Oct. 18, 2021, 1:08 a.m.