Skip to content

A wrapper to RStan. Currently only supports sampling.

License

Notifications You must be signed in to change notification settings

chriselrod/RStan.jl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

About

A wrapper to RStan. Currently only supports sampling.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages