MakePointsStack: Function to create stack for presence only points

View source: R/MakePointsStack.R

MakePointsStackR Documentation

Function to create stack for presence only points

Description

Function to create stack for presence only points

Usage

MakePointsStack(data, presences, tag = "points", intercept = TRUE, mesh,
  coordnames = NULL, InclCoords = FALSE, polynoms = NULL, scale = FALSE)

Arguments

data

SpatialPointsDataFrame of covariates.

presences

SpatialPoints object of presences.

tag

Name for this stack (defaults to "points").

intercept

should an intercept be added? Defaults to TRUE.

mesh

INLA mesh.

coordnames

Names of coordinates.

InclCoords

should coordinates be included in data? (defaults to FALSE)

polynoms

If not NULL, a SpatialPolygons object, with (for example) range maps.

scale

Should the distance be scaled by dividing by the mean of the non-zero distances? Defaults to FALSE, either logical or numeric. Ignored if polynoms is NULL.

Value

An INLA stack with points


oharar/PointedSDMs documentation built on July 11, 2022, 11:20 a.m.