PlotParam: Plot Param

PlotParamR Documentation

Plot Param

Description

Create a density plot with parameter values

Usage

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",
  scale = FALSE,
  y.limits = NULL,
  y.breaks = NULL,
  x.limits = NULL,
  x.breaks = NULL,
  plot.title = NULL
)

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'

scale

scale x and y axis, Default: FALSE

y.limits

vector of y limits, Default: NULL

y.breaks

vector of y breaks, Default: NULL

x.limits

= vector of x limits, Default: NULL

x.breaks

= vector of x breaks, Default: NULL

plot.title

= title of plot, Default: NULL

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 March 18, 2022, 6:19 p.m.