raster.cor: Calculates the correlation coefficient between two rasters.

Description Usage Arguments Examples

View source: R/raster.cor.R

Description

Calculates the correlation coefficient between two rasters.

Usage

1
raster.cor(x, y, method = "spearman")

Arguments

x

Either a raster or an ENMTools model object with a suitability raster.

y

Either a raster or an ENMTools model object with a suitability raster.

method

The method to be used for calculating correlations. Defaults to spearman, but can take "kendall" or "pearson" as well.

Examples

1
2

danlwarren/ENMTools documentation built on Sept. 9, 2018, 4:23 p.m.