R/rule_length.R

rule_length = function(rule) {
  splitted = unlist(strsplit(rule, split = "&"))
  length(splitted)
}

Try the horserule package in your browser

Any scripts or data that you put into this service are public.

horserule documentation built on May 2, 2019, 10:04 a.m.