
# BayesianNetwork <a href="http://paulgovan.github.io/BayesianNetwork/"><img src="man/figures/logo.png" align="right" height="139" alt="BayesianNetwork website" /></a>

<!-- badges: start -->

[![Project Status: Active – The project has reached a stable, usable
state and is being actively
developed.](https://www.repostatus.org/badges/latest/active.svg)](https://www.repostatus.org/#active)
[![CRAN
status](https://www.r-pkg.org/badges/version/BayesianNetwork)](https://CRAN.R-project.org/package=BayesianNetwork)
[![R-CMD-check](https://github.com/paulgovan/BayesianNetwork/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/paulgovan/BayesianNetwork/actions/workflows/R-CMD-check.yaml)
[![](http://cranlogs.r-pkg.org/badges/grand-total/BayesianNetwork)](https://cran.r-project.org/package=BayesianNetwork)
[![](http://cranlogs.r-pkg.org/badges/last-month/BayesianNetwork)](https://cran.r-project.org/package=BayesianNetwork)
[![DOI](http://joss.theoj.org/papers/10.21105/joss.00425/status.svg)](https://doi.org/10.21105/joss.00425)

<!-- badges: end -->

BayesianNetwork is a [shiny](https://shiny.posit.co/) web application
for Bayesian network modeling and analysis, powered by the
[bnlearn](https://www.bnlearn.com/) package. To learn more about this
project, check out this
[article](https://joss.theoj.org/papers/10.21105/joss.00425).

## Installation

To install BayesianNetwork in [R](https://www.r-project.org):

    install.packages("BayesianNetwork")

Or to install the latest development version:

    devtools::install_github('paulgovan/BayesianNetwork')

To launch the app:

    BayesianNetwork::BayesianNetwork()

Or to access the app through a browser, visit
[paulgovan.shinyapps.io/BayesianNetwork](https://paulgovan.shinyapps.io/BayesianNetwork/).

![](https://github.com/paulgovan/BayesianNetwork/blob/master/inst/images/Dashboard.PNG?raw=true)

## Code of Conduct

Please note that the BayesianNetwork project is released with a
[Contributor Code of
Conduct](http://paulgovan.github.io/BayesianNetwork/CODE_OF_CONDUCT.html).
By contributing to this project, you agree to abide by its terms.
