get_observed: get the observed values from the model object

View source: R/get_observed.R

get_observedR Documentation

get the observed values from the model object

Description

get the observed values from the model object

Usage

get_observed(object)

Arguments

object

the INLA model

See Also

Other statistics: dispersion(), fitted,inla-method, residuals,inla-method

Examples

library(INLA)
set.seed(20181202)
model <- inla(
  poisson ~ 1,
  family = "poisson",
  data = data.frame(
    poisson = rpois(20, lambda = 10),
    base = 1
  ),
  control.predictor = list(compute = TRUE)
)
get_observed(model)

inbo/inlatools documentation built on Sept. 17, 2022, 2:13 p.m.