Description Usage Arguments Details Value Note Author(s) See Also Examples
The rulesSession creates a session that interfaces between R and the Drools engine. The session is utilized by the runRulesDrl function for executing a data frame against a set of rules
1 | rulesSessionDrl(rules, input.columns, output.columns)
|
rules |
a character vector consisting of lines read from a rules file of format .drl (Drools rules file). This character vector is eventually collapsed into a character vector of length 1, so the way you read the file could potentially be just about anything |
input.columns |
a character vector of a set of input column, for example.
|
output.columns |
a character vector of a set of expected output columns, for example.
|
An active drools rules session. This promotes re-usability of a session, i.e. you can utilize the same session repetitively for different data sets of the same format.
rules.session.object Returns a session to the rules engine
Please have a look at the examples provided in the 'examples' section of the
Rdrools
. A sample data set and a set of rules have been supplied help you
understand the package usage.
Ashwin Raaghav <ashwin.raaghav@mu-sigma.com>
SMS Chauhan <sms.chauhan@mu-sigma.com>
Other Interface Functions to Drools: executeRulesOnDataset
,
runRulesDrl
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.