Skip to contents

Setting up Julia with rjuliabugs

setup_juliaBUGS()
Setup Julia Environment for JuliaBUGS

Fitting the model

juliaBUGS()
Run a Julia HMC Sampler for a BUGS-like Probabilistic Model

Exploring the fitted model and extracting posterior samples

extract()
Extract Posterior Samples from an `rjuliabugs` S3 Object
summary(<rjuliabugs>)
Summary Method for JuliaBUGS Sampler Output

Converting posterior sample formats

as_rvar()
Convert to posterior::rvar format
as_mcmc()
Convert to coda::mcmc or mcmc.list format
as_draws()
Convert to posterior::draws format

Saving and loading the fitted rjuliabugs object

save_rjuliabugs()
Save an rjuliabugs Object and Its Julia State
load_rjuliabugs()
Load an rjuliabugs Object and Restore the Julia State

Utility functions

bugs2juliaBUGS()
Convert BUGS Model to Julia's `@bugs` Macro Format
wrap_model_to_juliaBUGS()
Wrap BUGS Model for Julia
julia_assign_int()
Assign an Integer Value to a Julia Variable
convert_numeric_types()
Convert Numeric Elements in a List to Integer or Float
delete_julia_obj()
Delete an object from the Julia Main environment