Skip to contents

ngvb is an R package that performs inference of latent non-Gaussian models using variational Bayes and Laplace approximations. Read the Get started to the ngvb package for an introduction to the package with several examples.

Installation instructions

It requires the packages INLA and ngme which can be installed by:

install.packages("INLA",repos=c(getOption("repos"),INLA=""), dep=TRUE)
remotes::install_github("davidbolin/ngme", ref = "devel")

The ngvb package can be installed using the command:

devtools::install_github("rafaelcabral96/ngvb", build_vignettes = TRUE)