PlotNominal: Plot Nominal

PlotNominalR Documentation

Plot Nominal

Description

Create a nominal plot

Usage

PlotNominal(
  data,
  monochrome = TRUE,
  plot.colors = c("#CCCCCC", "#DEDEDE"),
  font.type = "serif",
  bar.dodge = 0.6,
  bar.alpha = 0.7,
  bar.width = 0.4,
  bar.extras.dodge = 0,
  bar.border = "black",
  bar.label = FALSE,
  bar.error = TRUE,
  use.cutoff = FALSE,
  diff.cutoff = 1,
  q.items = NULL
)

Arguments

data

MCMC data to plot

monochrome

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

plot.colors

range of color to use, Default: c("#CCCCCC", "#DEDEDE")

font.type

font type used for visualizations, Default: 'serif'

bar.dodge

distance between within bar plots, Default: 0.6

bar.alpha

transparency for bar plot, Default: 0.7

bar.width

width of bar plot, Default: 0.4

bar.extras.dodge

dodge of error bar and label, Default: 0

bar.border

color of the bar border, Default: 'black'

bar.label

logical, indicating whether or not to show bar labels, Default: TRUE

bar.error

logical, indicating whether or not to show error bars, Default: TRUE

use.cutoff

logical, indicating whether or not to use a cutoff for keeping plots, Default: FALSE

diff.cutoff

if using a cutoff, determine the percentage that expected and observed values should differ, Default: 1

q.items

which variables should be used in the plot. Defaults to all , Default: NULL

See Also

aes,margin,geom_crossbar,ggplot,scale_manual,theme


bfw documentation built on March 18, 2022, 6:19 p.m.