Examples for 'validate::plot,validator-method'


Plot a validator object

Aliases: plot,validator-method

Keywords:

### ** Examples

rules <- validator( r1 = staff.costs < total.costs
                  , r2 = turnover + other.rev == total.rev
                  , r3 = other.rev > 0
                  , r4 = total.rev > 0
                  , r5 = nace %in% c("A", "B")
                  )
plot(rules, cex=0.8, show_legend=TRUE)
plot of chunk example-validate-plot,validator-method-1
data(retailers)
cf <- confront(retailers, rules)
plot(cf, main="Retailers check")
Rules r5 not included in plot since they could not be executed. See ?errors
plot of chunk example-validate-plot,validator-method-1

[Package validate version 1.1.1 Index]