glm_pseudoabsence: GLM with pseudoabsences

Description Usage Arguments Value See Also

View source: R/model_utils.r

Description

Wrapper around glm to use a pseudoabsence approach, substituting absences (zeros's) with the prevalence (mean occurrence).

Usage

1

Arguments

formula

formula with dependent and independent variables

family

a description of the error distribution and link function to be used in the model. This can be a character string naming a family function, a family function or the result of a call to a family function. (See family for details of family functions.)

data

dataframe holding the data

...

additional parameters to pass to glm

Value

glm model

See Also

glm


pezzacolori/boris-r-misc documentation built on Sept. 14, 2021, 1:46 a.m.