An internal function used to make the formula components required for inlabru.
makeFormulaComps(form, species, speciesnames, type)
A vector of components required for inlabru.
The formula which needs to be changed into a component.
Logical indicating if species occur in the model.
The names of the species occurring in the model.
What type of component is being created: one for the covariate formula or the bias formula.