| read_data | R Documentation |
This helper function reads financial data for the {fHMM} package.
read_data(controls)
controls |
An object of class |
A list containing the following elements:
the matrix of the dates if controls$simulated = FALSE
and controls$data$data_column is specified,
the matrix of the time_points if controls$simulated = TRUE
or controls$data$data_column is not specified,
the matrix of the empirical data used for estimation,
the matrix named time_series of empirical data before
the transformation to log-returns,
the vector of fine-scale chunk sizes T_star if
controls$hierarchy = TRUE.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.