fitRSF: Fit RSF

View source: R/fitRSF.R

fitRSFR Documentation

Fit RSF

Description

Fit RSF

Usage

fitRSF(xy, method = c("poisson", "logit"), covlist, nbin = NULL,
  nzeros = NULL, buffsize = NULL)

Arguments

xy

Matrix of observed locations

method

Method to fit the RSF, either "poisson" for a Poisson GLM, or "logit" for a logistic regression

covlist

List of covariate rasters

nbin

Number of bins in each dimension for Poisson GLM

nzeros

Number of zeros to sample for logistic regression

buffsize

Size of buffer around the observed locations from which control locations should be sampled, if method='logit'.

Value

List of mod (output of glm) and xyzeros (matrix of unused locations)


TheoMichelot/localGibbs documentation built on March 24, 2022, 5:56 a.m.