fit_dlm: fit_dlm

View source: R/fit_dlm.R

fit_dlmR Documentation

fit_dlm

Description

Fits a Bayesian state-space dynamic linear model using JAGS

Usage

fit_dlm(model = NULL, data)

Arguments

model

list containing the following elements

  • obscolumn name of the observed data. REQUIRED

  • fixedformula for fixed effects. Response variable is optional but should be 'x' if included

  • randomnot implemented yet; will be formula for random effects

  • n.iternumber of mcmc iterations

data

data frame containing observations and covariates

Author(s)

Mike Dietze


EcoForecast/ecoforecastR documentation built on June 7, 2022, 3:31 a.m.