luke-a-rogers / mmmstan

An R package to fit Markov movement models (MMM) via CmdStan
GNU General Public License v3.0
2 stars 0 forks source link

mmmstan

An R package to fit Markov movement models (MMM) via CmdStan and CmdStanR

R-CMD-check

CmdStan / CmdStanR

The mmmstan package currently depends on the cmdstanr package to take advantage of within-chain parallel threading provided by the reduce_sum() function in CmdStan >= 2.23.

Installation

  1. Install the R package cmdstanr (see https://mc-stan.org/cmdstanr/index.html).
remotes::install_github("stan-dev/cmdstanr")
  1. Install CmdStan (see https://mc-stan.org/cmdstanr/articles/cmdstanr.html).
cmdstanr::check_cmdstan_toolchain()
cmdstanr::install_cmdstan(cores = parallel::detectCores())
  1. Install mmmstan.
devtools::install_github("luke-a-rogers/mmmstan")