The goal of intervalcalc is to …
You can install the released version of intervalcalc from r-universe with
options(repos = c(
medewitt = 'https://medewitt.r-universe.dev',
CRAN = 'https://cloud.r-project.org'))
install.packages("intervalcalc")
And the development version from GitHub with:
# install.packages("remotes")
remotes::install_github("medewitt/intervalcalc")
You will also need to have a working installation of CmdStanR. This can be downloaded and installed using:
install.packages("cmdstanr",
repos = c("https://mc-stan.org/r-packages/",
getOption("repos")))
Then you can install CmdStan using the following code from within a new R session:
library(cmdstanr)
check_cmdstan_toolchain()
install_cmdstan()
Full details are available at the CmdStanR website.
This is a basic example which shows you how to solve a common problem:
## basic example code
Please note that the intervalcalc project is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.