Learn R Programming

benford.analysis (version 0.1.5)

plot.Benford: Plot method for Benford Analysis

Description

The plot method for "Benford" objects.

Usage

# S3 method for Benford
plot(x,except=c("mantissa","abs diff"), multiple=TRUE, ...)

Arguments

x

a "Benford" object

except

it specifies which plots are not going to be plotted. Currently, you can choose from 7 plots: "digits", "second order", "summation", "mantissa", "chi square", "abs diff", "ex summation". If you want to plot all, just put except = "none". The default is not to plot the "mantissa" and "abs diff".

multiple

if TRUE, all plots are grouped in the same window.

...

arguments to be passed to generic plot functions,

Value

Plots the Benford object.