plotBFWetzels: Plot BF for the Wetzels et al dataset

Description Usage Arguments

View source: R/zzz_plot_BF.R

Description

Plot BF for the Wetzels et al dataset

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
plotBFWetzels(
  BFWetzels,
  disttype = c("norm", "t"),
  elicit.stage = c("MATCH", "Shiny"),
  alternative = c("two.sided", "greater", "less"),
  BFdir = c("H0", "H1", "Mixed"),
  pdf.width = 8.5,
  pdf.height = 4,
  cex.text = 1.5,
  mar = c(5, 3, 1, 1),
  line.ylab = 1.5,
  xtck = NULL
)

Arguments

BFWetzels

Dataset containing BF of Wetzels et al. data

disttype

Which type of prior distribution? "norm" = normal, "t" = t-distribution

elicit.stage

Which stage of the elicitation process? "MATCH" = MATCH results, "Shiny" = Shiny results

alternative

Direction of Bayesian test: "two-sided" = two-sided test, "greater" = one-sided test delta > 0, "less" = one-sided test delta < 0

BFdir

Which studies should be looked at? "H0" = all BFs point towards H0, "H1" = all BFs point towards H1, "Mixed" = direction of BF changes

pdf.width

Width of the pdf output

pdf.height

Height of the pdf output

cex.text

Font size of axis labels

mar

Margins of the plot to be inserted in par(mar=...)

line.ylab

Position of y-axis label relative to y axis (to be inserted in mtext(line=...))

xtck

Vector specifying location of tick marks on x-axis, automatically determined if xtcks=NULL (default)


astefan1/ExpertAgreement documentation built on Nov. 29, 2021, 3:44 a.m.