This function writes association rules to a CSV file. For time series datasets, it also includes start and end timestamps instead of indices.
write_association_rules_to_csv(
rules,
file_path,
is_time_series = FALSE,
timestamps = NULL
)
No explicit return value. The function writes association rules to a CSV file.
A list of association rules.
The file path for the CSV output.
A boolean flag indicating if time series information should be included.
A vector of timestamps corresponding to the time series data.