This function simulates or reads financial data for the {fHMM} package.
Value
An object of class fHMM_data
.
Examples
controls <- set_controls()
data <- prepare_data(controls)
class(data)
#> [1] "fHMM_data"
summary(data)
#> Summary of fHMM simulated data
#> * number of observations: 100