catterPlot: Caterpillar plot

Description Usage Arguments

View source: R/plotingFunctions.R

Description

This function takes a list which contains a Stanfit object and summary tables. The output is a caterpillar plot of parameters with credible intervals that do not contain 0. Red line segments denote a 80% credible interval, while the black tails show 95%.

Usage

1
catterPlot(RES, byCond = FALSE, plotAll = FALSE, avgCond = FALSE)

Arguments

RES

The results list generated from the function compBayes

byCond

A boolean parameter which determines if separate plots should be made for each condition. The default is FALSE which results in the creation of a single plot.

plotAll

A boolean variable indicating whether or not all parameters should be plotted. The default is false, resulting in a plot for only parameters with 95% credible intervals that do not contain zero.

avgCond

A boolean parameter that determines whether or not plots will be based on heierarchical population level mean parameters or average within sample parameters. The default is to use the population level parameter, however with very small sample sizes this plot may not be useful.


ColtoCaro/compMS documentation built on March 13, 2020, 10:11 a.m.