Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholasjclark authored Dec 4, 2024
1 parent a508e2f commit b086a09
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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()`

Expand Down

0 comments on commit b086a09

Please sign in to comment.