fit.dl: Perform all the steps necessary to fit the model: 1. prepare...

Description Usage Arguments

View source: R/model.r

Description

Perform all the steps necessary to fit the model:

  1. prepare the data

  2. find suitable initialisations

  3. fit the model using the specified method (sampling or variational Bayes)

  4. process the posterior

Usage

1
fit.dl(dl, method = "sample", ...)

Arguments

dl

de.lorean object

method

Fitting method:

  • 'sample': Use a Stan sampler. See fit.model.sample.

  • 'vb': Use Stan ADVI variational Bayes algorithm. See fit.model.vb.

...

Extra arguments for fitting method


JohnReid/DeLorean documentation built on Oct. 21, 2018, 3:28 a.m.