Learn R Programming

DeLorean (version 1.5.0)

fit.model.sample: Fit the model using Stan sampler

Description

Fit the model using Stan sampler

Usage

fit.model.sample(dl, num.cores = getOption("DL.num.cores",
  max(parallel::detectCores() - 1, 1)), chains = 1, thin = 50, ...)

Arguments

dl

de.lorean object

num.cores

Number of cores to run on. Defaults to getOption("DL.num.cores", max(parallel::detectCores()-1, 1))

chains

Number of chains to run on each core

thin

How many samples to generate before retaining one

...

Extra arguments for rstan::stan() sampling call