From b086a09c616aa69fdc1975b89aadf9c492f04e4e Mon Sep 17 00:00:00 2001 From: Nicholas Clark Date: Thu, 5 Dec 2024 07:56:14 +1000 Subject: [PATCH] Update README.md --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 66de409..594273e 100644 --- a/README.md +++ b/README.md @@ -55,12 +55,17 @@ update.packages(ask = FALSE, checkBuilt = TRUE) # packages to install for the course pkgs <- c("tidyverse", "gratia", "ggplot2", - "marginaleffects", "janitor", "mvgam") + "marginaleffects", "janitor" # install packages install.packages(pkgs) ``` +We will be using the latest development version of `mvgam`, as it has several nice features that haven't quite made it to **CRAN** yet. You can install this version using: +```r +devtools::install_github("nicholasjclark/mvgam") +``` + ### INSTALLING AND CHECKING STAN When working in R, there are two primary interfaces we can use to fit models with Stan (`rstan` and `CmdStan`). Either interface will work, however it is highly recommended that you use the `Cmdstan` backend, with the `{cmdstanr}` interface, rather than using `{rstan}`. More care, however, needs to be taken to ensure you have an up to date version of Stan. **For all `mvgam` functionalities to work properly, please ensure you have at least version 2.29 of Stan installed**. The GitHub development versions of `rstan` and `CmdStan` are currently several versions ahead of this, and both of these development versions are stable. The exact version you have installed can be checked using either `rstan::stan_version()` or `cmdstanr::cmdstan_version()`