Fit the model using Stan sampler

Share:

Description

Fit the model using Stan sampler

Usage

1
2
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

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.