PlotParam: Plot Param

Description Usage Arguments Value See Also

Description

Create a density plot with parameter values

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
PlotParam(
  data,
  param,
  ROPE = FALSE,
  monochrome = TRUE,
  plot.colors = c("#495054", "#e3e8ea"),
  font.type = "serif",
  font.size = 4.5,
  rope.line = -0.2,
  rope.tick = -0.1,
  rope.label = -0.35,
  line.size = 0.5,
  dens.zero.col = "black",
  dens.mean.col = "white",
  dens.median.col = "white",
  dens.mode.col = "black",
  dens.rope.col = "black"
)

Arguments

data

MCMC data to plot

param

parameter of interest

ROPE

plot ROPE values, Default: FALSE

monochrome

logical, indicating whether or not to use monochrome colors, else use DistinctColors, Default: TRUE

plot.colors

range of color to use, Default: c("#495054", "#e3e8ea")

font.type

font type used for visualizations, Default: 'serif'

font.size

font size, Default: 4.5

rope.line

size of ROPE lien, Default: -0.2

rope.tick

distance to ROPE tick, Default: -0.1

rope.label

distance to ROPE label, Default: -0.35

line.size

overall line size, Default: 0.5

dens.zero.col

colour of line indicating zero, Default: 'black'

dens.mean.col

colour of line indicating mean value, Default: 'white'

dens.median.col

colour of line indicating median value, Default: 'white'

dens.mode.col

colour of line indicating mode value, Default: 'black'

dens.rope.col

colour of line indicating ROPE value, Default: 'black'

Value

Density plot of parameter values

See Also

mutate,group_by,join,select,slice,filter approxfun aes,margin,geom_density,geom_polygon,geom_segment,geom_label,ggplot,ggplot_build,scale_continuous,theme,labs


bfw documentation built on Jan. 11, 2020, 9:29 a.m.