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


DeLorean documentation built on May 2, 2019, 9:24 a.m.