write_association_rules_to_csv {niarules} | R Documentation |
Write Association Rules to CSV file
Description
This function writes association rules to a CSV file. For time series datasets, it also includes start and end timestamps instead of indices.
Usage
write_association_rules_to_csv(
rules,
file_path,
is_time_series = FALSE,
timestamps = NULL
)
Arguments
rules |
A list of association rules. |
file_path |
The file path for the CSV output. |
is_time_series |
A boolean flag indicating if time series information should be included. |
timestamps |
A vector of timestamps corresponding to the time series data. |
Value
No explicit return value. The function writes association rules to a CSV file.
[Package niarules version 0.2.0 Index]