plot_iter_data: Get data for iterations vs parameters/OBJ plots

View source: R/plot_iter.R

plot_iter_dataR Documentation

Get data for iterations vs parameters/OBJ plots

Description

[Stable]

Used in shiny app and as a backend function.

Usage

plot_iter_data(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

Returns data.frame suitable for use in plot_iter_ggplot().

See Also

plot_iter_ggplot()


tsahota/NMproject documentation built on Oct. 1, 2022, 11:51 a.m.