makeFormulaComps {PointedSDMs}R Documentation

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

Description

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

Usage

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.

Value

A vector of components required for inlabru.


[Package PointedSDMs version 2.1.0 Index]