# Path to example files
sl4_path <- system.file("extdata", "TAR10.sl4", package = "HARplus")
# Basic loading
sl4_data <- load_sl4x(sl4_path)
# Load with lowercase names
sl4_data_lower <- load_sl4x(sl4_path, lowercase = TRUE)
# Load specific headers
sl4_selected <- load_sl4x(sl4_path, select_header = c("qo", "qgdp"))
Run the code above in your browser using DataLab