Learn R Programming

fHMM (version 1.4.2)

plot.fHMM_data: Plot method for an object of class fHMM_data

Description

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

Usage

# S3 method for fHMM_data
plot(x, events = NULL, title = NULL, from = NULL, to = NULL, ...)

Value

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

Arguments

x

An object of class fHMM_data.

events

An object of class fHMM_events.

title

Optionally a character for a custom title.

from

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.

to

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.

Examples

Run this code
plot(dax_model_3t$data, title = "DAX time series")

Run the code above in your browser using DataLab