Skip to contents

This function is the plot method for an object of class fHMM_model.

Usage

# S3 method for fHMM_model
plot(x, plot_type = "ts", events = NULL, colors = NULL, ...)

Arguments

x

An object of class fHMM_model.

plot_type

A character (vector), specifying the type of plot and can be one (or more) of

  • "ll" for a visualization of the likelihood values in the different optimization runs,

  • "sdds" for a visualization of the estimated state-dependent distributions,

  • "pr" for a visualization of the model's (pseudo-) residuals,

  • "ts" for a visualization of the financial time series.

events

An object of class fHMM_events.

colors

Either NULL or a character vector of color names or hexadecimal RGB triplets.

...

Ignored.

Value

No return value. Draws a plot to the current device.