dummy-link

RStan

A wrapper to RStan. Currently only supports sampling.

Readme

RStan

Build Status

Coverage Status

codecov.io

This is a very light wrapper to "rstan", using RCall. The only exported function is "rstan". Upon initializing, it will automatically turn on for you:

rstan_options(auto_write = TRUE)
options(mc.cores = parallel::detectCores())

but print the recomendation to do so anyway.

Write your model in a character string, and submit that with your data in a dictionary.

data = Dict("x" => x, "N" => length(x))
rstan(model_code, data)

First Commit

03/12/2018

Last Touched

over 1 year ago

Commits

18 commits

Used By: