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

Description Usage Arguments

View source: R/model.r

Description

Perform all the steps necessary to fit the model. - prepare the data - compile the model - find suitable initialisations - fit the model using the specified method (sampling or variational Bayes) - 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 July 21, 2018, 11:11 a.m.