Learn R Programming

parameters (version 0.6.0)

format_bf: Bayes Factor formatting

Description

Bayes Factor formatting

Usage

format_bf(bf, stars = FALSE, stars_only = FALSE, name = "BF")

Arguments

bf

Bayes Factor.

stars

Add significance stars (e.g., p < .001***).

stars_only

Return only significance stars.

name

Name prefixing the text. Can be NULL.

Value

A formatted string.

Examples

Run this code
# NOT RUN {
format_bf(1.20)
format_bf(c(1.20, 1557, 3.5, 12), stars = TRUE)
format_bf(c(1.20, 1557, 3.5, 12), name = NULL)
# }

Run the code above in your browser using DataLab