write_association_rules_to_csv: Write Association Rules to CSV file

View source: R/output.R

write_association_rules_to_csvR 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.


niarules documentation built on Sept. 15, 2025, 5:08 p.m.