Function can be used to compare two Zonation output rasters with one of the following functions (part of zonator package):

  • correlation

  • substraction

  • ferquency(NOT IMPLEMENTED)

  • coverage

comp(x, y, fun = "correlation", ...)

Arguments

x

Numeric matrix.

y

Numeric matrix.

fun

Function used for the numeric comparison.

...

Further arguments passed on to selected comparison function.

Value

A DataFrame with each row containg columns title, count, and catid

See also

correlation substraction frequency coverage