julia.model: Fit a julia gibbs sampler (given by s.code)

Description Usage Arguments Details

Description

Fit a julia model to a single data set

Usage

1
2
3
julia.model(j.code, iter, warmup, chains, sdat = sdat, fl = tempfile(),
  jinstance = NULL, cleanafter = FALSE, verbose = TRUE,
  debug = FALSE, addpackages = TRUE, juliabin = NULL)

Arguments

j.code

name of a character string with a stan model

iter

Number of "sweep" iterations, or iterations after the burnin/warmup

warmup

warmup (stan) / n.adapt (jags) / burnin (julia). Number of iterations to allow for adaptation of MCMC parameters/burnin

chains

Number of parallel MCMC chains (default 4)

sdat

list of data created from

fl

Filename to output model results for single run (useful for debugging)

jinstance

existing julia_setup() instance

cleanafter

should the extra workers be killed after running?

verbose

print extra stuff

debug

print extra debugging info? FALSE

addpackages

install/reinstall julia packages? TRUE (default) is slower, but should be done the first time running each model. Afterwards, can be set to FALSE to save a good chunk of computing time.

juliabin

NULL or path to directory containing the julia binary file e.g. /Applications/Julia-1.1.app/Contents/Resources/julia/bin/ on mac C:/Users/<username>]/AppData/Local/Julia-1.1.0/bin/ on windows 10

Details

Fit a julia model to a single data set


alexpkeil1/wellwise documentation built on June 15, 2019, 7:02 p.m.