get_observed | R Documentation |
get the observed values from the model object
get_observed(object)
object |
the INLA model |
Other statistics:
dgpoisson()
,
dispersion()
,
fitted,inla-method
,
residuals,inla-method
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.