Tests whether a pattern and a data list (row of a data frame) match

Description

Tests whether a pattern and a data list (row of a data frame) match, e.g., for implementing classification methods.

Usage

1
is.pattern.matching(pattern, data.list)

Arguments

pattern

An instance of class Pattern, e.g., returned by DiscoverSubgroups.

data.list

A list having the attributes as 'keys', and the values as respective values of the list. This corresponds, for example, to a row of a data frame.

See Also

Pattern-class.