plot.BFF {BFF}R Documentation

Plot Bayes Factor Function

Description

Creates a Bayes factor function plot of an BFF object. The BFF object needs to be specified with omega = NULL or .

Usage

## S3 method for class 'BFF'
plot(x, plot = TRUE, ...)

Arguments

x

a BFF object

plot

whether plot should be generated. Default to TRUE. If FALSE a data frame with the support, prior ordinates, and posterior ordinates is returned instead.

...

additional arguments to the plotting function. These include:

"title"

tile of the figure

"xlab"

x-axis label of the figure

"ylab"

y-axis label of the figure

"add_segments"

whether effect size segments should be added to the figure. Available only for standardized effect sizes. Defaults to TRUE

Value

either a ggplot2 object if plot = TRUE or a data.frame with a Bayes factor function if plot = FALSE

See Also

[z_test_BFF()], [t_test_BFF()], [chi2_test_BFF()], [f_test_BFF()]


[Package BFF version 4.2.1 Index]