Learn R Programming

splithalf (version 0.8.2)

multiverse.plot: Visualising reliability multiverses

Description

This function allows the user to plot the output from splithalf_multiverse or testretest_multiverse. The plot includes an upper panel with all reliability estimates (and CIs) and a lower panel that indicates the data processing specifications corresponding to that reliability estimate. The (unofficial) function version name is "This function will make you a master in bird law"

This function examines the output from splithalf_multiverse or testretest_multiverse to extract the proportions of estimates above or below a set threshold (can be the estimate or the upper or lower CI estimates). The (unofficial) function version name is "This function will get you up to here with it"

Usage

multiverse.plot(
  multiverse,
  title = "",
  vline = "none",
  heights = c(4, 5),
  SE = FALSE
)

threshold(multiverse, threshold, use = "estimate", dir = "above")

Value

Returns a visualization of a multiverse object

Arguments

multiverse

multiverse object

title

string add a title to the plot? default is ""

vline

add a vertical line to the plot, e.g. use .5 for the median reliability estimate

heights

must be a vector of length 2, relative heights of plot panels. Defaults to c(4,5)

SE

logical includes an additional panel to plot the standard errors of the scores. Note: the heights parameter must be a vector of length 3, e.g. c(2,2,3). Defaults to FALSE

threshold

threshold to look for, e.g. 0.7

use

set to check the reliability "estimates", or the "upper" or "lower" CIs

dir

look "above" or "below" the 'use' at the set threshold