Skip to contents

Parse model output to create a list of model parameters

Usage

parse_model_output(model_output, measurement_data, model_type = "inlabru")

Arguments

model_output

Output returned by model (currently only from running inlabru::bru)

measurement_data

Measurement data (can be data.frame, SpatialPoints/SpatialPointsDataFrame, or simple feature collection)

model_type

Type of model, we currently only support inlabru

Value

Creates a list of model outputs, including fitted mean and sd, mean of fixed effects, mean and sd of random effects, posterior hyperparameters, and DIC