Function to make the datasets into likelihoods.
makeLhoods(
data,
formula,
family,
mesh,
ips,
paresp,
ntrialsvar,
markstrialsvar,
speciesname,
speciesindex,
samplers,
pointcovs = NULL
)
A list of sf objects containing the datasets for which likelihoods need to be constructed.
A list of formulas to add to the likelihoods.
A list of vectors containing the families within each dataset.
An fm_mesh_2d
object.
Integration points used.
The response variable name for the presence absence datasets.
The trials variable name for the presence absence datasets.
The trial variable name for the binomial marks.
The name of the species variable used.
A vector containing the numeric index of where the species occurs in the data
A list of integration domains for the datasets.
A vector of the point covariates used in the model.