buildSpatialGrid: Build spatial grid

Description Usage Arguments Value Examples

View source: R/gridfun.r

Description

This function shows the spatial grid used in the approximation of the site-specific autocorrelated random effects for a particular value of the grid step.

Usage

1
buildSpatialGrid(X_cov, Y_cov, gridStep)

Arguments

X_cov

The variable containing the x coordinates of the sites.

Y_cov

The variable containing the y coordinates of the sites.

gridStep

Value of the grid step.

Value

Plot of the grid with number of points used in the approximation.

Examples

1
buildSpatialGrid(sampleData$X, sampleData$Y, gridStep = .3)

alexdiana1992/FastOccupancy documentation built on Dec. 19, 2021, 12:32 a.m.