R: Plot a validation object

plot,validation-method {validate} | R Documentation

## Plot a validation object

### Description

The plot function for the confrontation object is identical to the `barplot` method.

### Usage

    ## S4 method for signature 'validation'
    plot(x, y, ...)

### Arguments

`x` | a confrontation object.
`y` | not used
`...` | passed to `barplot`

### See Also

Other validation-methods: `aggregate,validation-method`, `all,validation-method`, `any,validation-method`, `barplot,validation-method`, `check_that()`, `compare()`, `confront()`, `event()`, `sort,validation-method`, `summary()`, `validation-class`, `values()`

### 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)

    data(retailers)
    cf <- confront(retailers, rules)
    plot(cf, main="Retailers check")

[Package validate version 0.9.3 Index]