fHMM_model
This function is the plot method for an object of class
fHMM_model
.
# S3 method for fHMM_model
plot(
x,
plot_type = "ts",
events = NULL,
colors = NULL,
ll_relative = TRUE,
title = NULL,
from = NULL,
to = NULL,
...
)
No return value. Draws a plot to the current device.
An object of class fHMM_model
.
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.
An object of class fHMM_events
.
Either NULL
(default) or a character
vector of color names or
hexadecimal RGB triplets.
A logical
, set to TRUE
(default) to plot the differences from
the best log-likelihood value. Set to FALSE
to plot the absolute
values.
Optionally a character
for a custom title.
Optionally a character
, a date in format "YYYY-MM-DD"
,
setting the lower date bound for plotting.
By default, from = NULL
, i.e. no lower bound.
Optionally a character
, a date in format "YYYY-MM-DD"
,
setting the upper date bound for plotting.
By default, to = NULL
, i.e. no upper bound.
Currently not used.