parallel_4: A simple wrapper function for running Stan in parallel on Mac...

Description Usage Arguments

Description

A simple wrapper function for running Stan in parallel on Mac or Linux

Usage

1
2
parallel_4(fit, data, iter = 2000, pars = c("alpha", "beta", "a",
  "log_lik"), cores = 4)

Arguments

fit

a stanfit object, can be without simulations.

data

a list with the data for Stan.

iter

integer number of iterations to run per chain.

pars

character vector of parameters to keep.

cores

integer number of cores to run on.


christophergandrud/StanSpeeches documentation built on May 13, 2019, 7:01 p.m.