R/fHMM_events.R
fHMM_events.Rd
This function checks the input events.
events
fHMM_events(events) # S3 method for class 'fHMM_events' print(x, ...)
A list of two elements.
list
The first element is named "dates" and contains a character vector in format "YYYY-MM-DD".
"dates"
character
"YYYY-MM-DD"
The second element is named "labels" and is a character vector of the same length as "dates".
"labels"
An object of class fHMM_events.
fHMM_events
Currently not used.
events <- list( dates = c("2001-09-11", "2008-09-15", "2020-01-27"), labels = c( "9/11 terrorist attack", "Bankruptcy Lehman Brothers", "First COVID-19 case Germany" ) ) events <- fHMM_events(events)