plot.ngme: Trace plots.

View source: R/plot.functions.R

plot.ngmeR Documentation

Trace plots.

Description

Plots the parameter estimates at successive iterations of the stochastic algorithm.

Usage

## S3 method for class 'ngme'
plot(object, param = "fixed", n.exclude = 0, index = NULL, ...)

Arguments

object

A fitted object returned by the "ngme" function.

param

A character string for which parameter set the traces are to be plotted; "fixed" for fixed effects, "random" for time-invariant random effects, "process" for stochastic process, "error" for error term.

n.exclude

A numeric value for excluding a portion of the trajectory (from left) for plotting.

index

When plotting fixed effects, the indices of the effects to plot.

...

Additional arguments; none used currently.

See Also

ngme

Examples

  ## Not run: 
  fit <- ngme(...)
  fitted(fit)
  
## End(Not run)

davidbolin/ngme documentation built on Dec. 5, 2023, 11:48 p.m.