Learn R Programming

niarules (version 0.2.0)

check_attribute: Check if the attribute conditions are satisfied for an instance.

Description

This function checks if the attribute conditions specified in the association rule are satisfied for a given instance row.

Usage

check_attribute(attribute, instance_row)

Value

TRUE if conditions are satisfied, FALSE otherwise.

Arguments

attribute

An attribute with type and name information.

instance_row

A row representing an instance in the dataset.