inlaCalc: INLA based model fitting

Description Usage Arguments Value

View source: R/inlaCalc.R

Description

Fits models using the INLA framework

Usage

1
2
3
4
5
inlaCalc(data, frm = as.formula(Y ~ offset(log(N))),
  family = "poisson", control.family = list(link = "log"),
  control.predictor = list(link = 1, compute = T),
  control.compute = list(dic = T, cpo = T, waic = T), text = "",
  class = "INLA")

Arguments

data

data in long format as stored in the dataLongPred slot of an incAnalysis object

frm

Model formula.

family

distribution

control.family

inla parameter

control.predictor

inla parameter

control.compute

inla parameter

text

Free text variable

class

specify the type of caller, e.g. GLM für runGLM, GAM for runGAM()

...

additional parameters

Value

list with results


mknoll/incAnalysis documentation built on Oct. 22, 2020, 9:20 a.m.