rk.bayesian is an external plug-in for RKWard that introduces a full suite of Bayesian statistical tests powered by the BayesFactor package. It is designed to provide "Jamovi-like" output, including Bayes Factors, posterior effect size estimates, descriptive statistics, and visualization plots.
The interface is fully localized to match your RKWard language settings:
es)fr)de)pt_BR)This plugin relies on the following R packages:
BayesFactor (Bayesian inference)dplyr (Data manipulation)ggpubr (Plots)rkwarddev (Development)You can install the latest version directly from GitHub using the devtools or remotes package in R:
library(devtools) # or library(remotes)
# install_github("AlfCano/rk.bayesian")
install.packages("rk.bayesian", repos = c('https://alfcano.r-universe.dev', 'https://cloud.r-project.org'))
The plugin adds a new entry to the main menu under: Analysis > Psychology / Social Science > Bayesian
To follow these tutorials, please run this code in the RKWard R Console to load the necessary datasets:
# Load standard datasets
data(ToothGrowth) # For T-Tests
data(PlantGrowth) # For ANOVA
data(mtcars) # For Correlation
# Create a Matrix for Contingency Table test
my_matrix <- matrix(c(20, 5, 10, 30), nrow = 2,
dimnames = list(c("Male", "Female"), c("Yes", "No")))
Goal: Check the strength of evidence for the difference in tooth length (len) by supplement (supp).
Psychology / Social Science > Bayesian > Bayesian Independent T-Test

Screenshot of the path in the main menu.
len.
Screenshot of the RKWard interface running the Bayesian T-Test module and setting the dependent and independent variables.
Grouping Variable: supp.
Options: Check "Posterior Effect Size" and "Plot Posterior Density".

Screenshot of the RKWard interface running the Bayesian T-Test module and setting the dependent and independent variables with preview.

Screenshot of the output in HTML format, showing the results of the Bayes Factor ($BF_{10}$), the descriptive table and the corresponding graphic rendering.
Goal: Compare models for plant weight (weight) across groups (group).
Psychology / Social Science > Bayesian > Bayesian One-Way ANOVA
weight (DV) and group (Factor).group model against the Intercept-only model with evidence labels, plus a table of group means/SDs.Goal: Test association between MPG and Horsepower.
Psychology / Social Science > Bayesian > Bayesian Correlation
mpg.hp.Goal: Test independence of rows/columns in a matrix.
Psychology / Social Science > Bayesian > Bayesian Contingency Table
my_matrix.Alfonso Cano
Benemérita Universidad Autónoma de Puebla
License: GPL (>= 3)
This plugin was developed with the assistance of Gemini, a large language model by Google.