| parse_rules | R Documentation |
Converts text-based scoring rules into a named numeric vector.
parse_rules(text)
text |
Character string containing one scoring rule per line. |
A named numeric vector containing scoring rules.
rules <- parse_rules("
11 = 4
10 = 3
01 = 2
00 = 1
")
rules
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.