Learn R Programming

ldhmm (version 0.6.1)

ldhmm.read_sample_object: Read sample ldhmm object

Description

This utility is used to read sample ldhmm object so that the user doesn't need to go through lengthy optimization process to obtain a trained HMM for advanced features.

Usage

ldhmm.read_sample_object(symbol = "spx-daily-m10", extdata_dir = NULL)

Value

The ldhmm object

Arguments

symbol

Character for the symbol of the time series. Default is spx-daily-m10

extdata_dir

optionally specify user's own extdata folder

Author

Stephen H-T. Lihn

Examples

Run this code
hs <- ldhmm.read_sample_object() # SPX daily 10-state HMM

Run the code above in your browser using DataLab