powered by
geographical convergent cross mapping
gccm( cause, effect, data, libsizes = NULL, E = 3, nb = NULL, RowCol = NULL, trendRM = TRUE )
A data.frame.
data.frame
Name of causal variable.
Name of effect variable.
The observation data, must be sf or SpatRaster object.
sf
SpatRaster
(optional) A vector of library sizes to use.
(optional) The dimensions of the embedding.
(optional) The neighbours list.
(optional) Matrix of selected row and cols numbers.
(optional) Whether to remove the linear trend.
columbus = sf::read_sf(system.file("shapes/columbus.gpkg", package="spData")[1], quiet=TRUE) gccm("HOVAL", "CRIME", data = columbus)
Run the code above in your browser using DataLab