ef_plot: Plot summary of posterior distribution

Description Usage Arguments

Description

Plot summary of the samples from posterior distribution produced by eforensics function

Usage

1
2
3
4
ef_plot(samples, true = NULL, parse = FALSE,
  plots = c("Abstention and Vote", "Local Fraud Probabilities",
  "Fraud Probability"), title = NULL, subtitle = NULL, xlab = NULL,
  ylab = NULL)

Arguments

true

used when data was generated by simulation produced by ef_simulateData function. The value must the be output of the function ef_get_true()

parse

boolean, if TRUE, text in the tick marks of the y-axis is parsed.

plots

a string vector with any combination of "Abstention and Vote", "Local Fraud Probabilities", and "Fraud Probability". It defines with plot will be included in the figure. Default includes all.

title

a string with the title of the plot

subtitle

a string wiht the subtitle of the plot

xlab

a string with the lable of the x-axis

ylab

a string with the lable of the y-axis


DiogoFerrari/eforensics documentation built on Aug. 31, 2019, 3:44 p.m.