View source: R/Rule_building.R
add_cumulative | R Documentation |
Given a Rules data frame, arranges it by a score and rule length and computes the cumulative number of positive and negative matches identified by the rules.
add_cumulative(data, order_by = "score", rule_var = "rule")
data |
A Rules data frame. |
order_by |
A column in |
rule_var |
The name of the column in |
The Rules data frame with two more columns for the cumulative numbers of positive and negative matches.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.