fit_fit.Rd
This function is called by the fit_fit module and calls disaggregation::disag_model() with the only difference being that covariates are wrapped to enable asynchronous operation and any errors are returned as a character
fit_fit(data, priors, family, link, iterations, field, iid, async = FALSE)
disag_data. Object returned by prepare_data function that contains all the necessary objects for the model fitting
list. List of prior values
character. Model family to fit
character. Link function to use
numeric. Number of iterations
logical. Whether to include a spatial field
logical. Whether to include an iid effect
logical. Whether or not the function is being used asynchronously
a list of class disag_model
or a character string if an error occurs