plot.Benford: Plot method for Benford Analysis

Description Usage Arguments Value

View source: R/functions-new.R

Description

The plot method for "Benford" objects.

Usage

1
2
3
4
5
## S3 method for class 'Benford'
plot(x, select = c("digits", "second order",
  "summation", "chi squared", "ex summation"), except = NULL,
  multiple = TRUE, col.bar = "lightblue", err.bounds = FALSE,
  alpha = 0.05, grid = TRUE, ...)

Arguments

x

a "Benford" object

select

it specifies the order and which plots are going to be plotted. If NULL, the parameter except is used.

except

it specifies which plots are not going to be plotted. If NULL, the parameter select is used. Currently, you can choose from 9 plots: "digits", "rootogram digits", "second order", "rootogram 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". If you want to plot all, just put except = "all"

multiple

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

col.bar

a color to be used to fill the bars. The default is lightblue.

err.bounds

if TRUE, the upper and lower error bounds are draw. The error bounds indicate the binomial root mean square error.

alpha

it specifies level of confidence interval. The defaults to 95 percent confidence interval,i.e., the error bounds will represent 1.96 standard error from the expected count by Benford's Law.

grid

if TRUE, adds an rectangular grid to plot.

...

arguments to be passed to generic plot functions,

Value

Plots the Benford object.


carloscinelli/benford.analysis documentation built on Aug. 26, 2019, 8:08 a.m.