prepare_data | R Documentation |
data
argument for the spatq
modelCreate a list of all data elements required to fit a spatq
model with
names etc.
prepare_data( catch_df, index_df, mesh, fem, obs_lik = 0L, X_contr = contr.helmert )
catch_df |
A data frame with catch observations, as read in by
|
index_df |
A data frame with coordinates for index calculation, as
generated by |
mesh |
A FEM mesh for the domain |
fem |
The sparse FEM matrices from the |
obs_lik |
Observation likelihood. Current options are |
X_contr |
Contrasts to use for fixed effect design matrix |
A list
with the data values for a spatq
model
John Best
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.