
<!-- README.md is generated from README.Rmd. Please edit that file -->

# vibass

[<img src="https://vabar.github.io/images//widget_vibass9.png" width="300px"/>](https://vabar.github.io/events/vibass9/)

<!-- badges: start -->

[![R-CMD-check](https://github.com/VABAR/vibass/workflows/R-CMD-check/badge.svg)](https://github.com/VABAR/vibass/actions)
[![CRAN
status](https://www.r-pkg.org/badges/version/vibass)](https://CRAN.R-project.org/package=vibass)
[![runiverse-vibass](https://vabar.r-universe.dev/badges/vibass)](https://vabar.r-universe.dev/vibass)
<!-- badges: end -->

Teaching materials for the [introductory course on Bayesian
inference](https://vabar.github.io/events/vibass9-intro/) at
[VIBASS](https://vabar.github.io/events/vibass9/)

## Installation

Install the released version of `vibass` from CRAN:

``` r
install.packages('vibass')
```

Or install the development version from our
[`r-universe`](https://vabar.r-universe.dev/vibass) with:

``` r
install.packages('vibass', repos = c('https://vabar.r-universe.dev', 'https://cloud.r-project.org'))
```

## Example

If installed with vignettes, the package contains the course practicals.
Otherwise, it points to the corresponding articles in the web site
<https://vabar.github.io/vibass/>.

Most importantly, it contains interactive apps associated with some of
the practicals

``` r
library(vibass)

## If installed with vignettes:
## Otherwise, read at: https://vabar.github.io/vibass/
browseVignettes('vibass')  # Index of all practicals
vignette('p1')  # Open practical

vibass_app()    # Lists available apps
vibass_app(1)   # Launch the interactive app for practical 1
```

![](man/figures/p1_app.png)
