summary.inlamemi | R Documentation |
Takes a fitted 'inlamemi' object produced by 'fit_inlamemi' and produces a summary from it.
## S3 method for class 'inlamemi'
summary(object, ...)
## S3 method for class 'summary.inlamemi'
print(x, ...)
object |
model of class 'inlamemi'. |
... |
other arguments |
x |
object of class summary.inlamemi. |
'summary.inlamemi' returns an object of class 'summary.inlamemi', a list of components to print.
# Fit the model
simple_model <- fit_inlamemi(data = simple_data,
formula_moi = y ~ x + z,
formula_imp = x ~ z,
family_moi = "gaussian",
error_type = c("berkson", "classical"),
prior.prec.moi = c(10, 9),
prior.prec.berkson = c(10, 9),
prior.prec.classical = c(10, 9),
prior.prec.imp = c(10, 9),
prior.beta.error = c(0, 1/1000),
initial.prec.moi = 1,
initial.prec.berkson = 1,
initial.prec.classical = 1,
initial.prec.imp = 1)
summary(simple_model)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.