makeFormulaComps function

makeFormulaComps: function to make components for the covariate and bias Formulas.

makeFormulaComps: function to make components for the covariate and bias Formulas.

An internal function used to make the formula components required for inlabru.

makeFormulaComps(form, species, speciesnames, type)

Arguments

  • form: The formula which needs to be changed into a component.
  • species: Logical indicating if species occur in the model.
  • speciesnames: The names of the species occurring in the model.
  • type: What type of component is being created: one for the covariate formula or the bias formula.

Returns

A vector of components required for inlabru.