plot.dynrCook {dynr} R Documentation

## Plot method for dynrCook objects

### Description

Plot method for dynrCook objects

### Usage

## S3 method for class 'dynrCook'
plot(x, dynrModel, style = 1, names.state, names.observed,
printDyn = TRUE, printMeas = TRUE, textsize = 4, ...)


### Arguments

 x dynrCook object dynrModel model object style The style of the plot in the first panel. If style is 1 (default), user-selected smoothed state variables are plotted. If style is 2, user-selected observed-versus-predicted values are plotted. names.state (optional) The names of the states to be plotted, which should be a subset of the state.names slot of the measurement slot of dynrModel. names.observed (optional) The names of the observed variables to be plotted, which should be a subset of the obs.names slot of the measurement slot of dynrModel. printDyn A logical value indicating whether or not to plot the formulas for the dynamic model printMeas A logical value indicating whether or not to plot the formulas for the measurement model textsize numeric. Font size used in the plot. ... Further named arguments

### Details

This is a wrapper around dynr.ggplot. A great benefit of it is that it shows the model equations in a plot.

### Value

ggplot object.

[Package dynr version 0.1.16-27 Index]