powered by
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.
ldhmm.read_sample_object(symbol = "spx-daily-m10", extdata_dir = NULL)
The ldhmm object
Character for the symbol of the time series. Default is spx-daily-m10
spx-daily-m10
optionally specify user's own extdata folder
Stephen H-T. Lihn
hs <- ldhmm.read_sample_object() # SPX daily 10-state HMM
Run the code above in your browser using DataLab