plotFormula: Plot the formula from a model

Description Usage Arguments Details

View source: R/dynrPlot.R

Description

Plot the formula from a model

Usage

1
2
plotFormula(dynrModel, ParameterAs, printDyn = TRUE, printMeas = TRUE,
  textsize = 4)

Arguments

dynrModel

The model object to plot.

ParameterAs

The parameter values or names to plot. The underscores in parameter names are saved for use of subscripts. Greek letters can be specified as corresponding LaTeX symbols without backslashes (e.g., "lambda") and printed as greek letters.

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

The text size use in the plot.

Details

This function typesets a set of formulas that represent the model. Typical inputs to the ParameterAs argument are (1) the starting values for a model, (2) the final estimated values for a model, and (3) the parameter names. These are accessible with (1) model$xstart, (2) coef(cook), and (3) model$param.names or names(coef(cook)), respectively.


dynr documentation built on June 20, 2017, 9:03 a.m.