cross_comp: Calculate a polygon-object cross-comparison matrix

View source: R/cross_comp.R

cross_compR Documentation

Calculate a polygon-object cross-comparison matrix

Description

Computes a cross-comparison matrix for polygon objects from a hespdiv object. The matrix quantifies similarity or dissimilarity among polygon objects and can be used for further analyses, such as clustering, either directly or after transformation.

Usage

cross_comp(obj)

Arguments

obj

A hespdiv object.

Details

The cross_comp() function uses the compare.f function from obj$call.info$Call_ARGS to perform pairwise comparisons of hespdiv polygon objects stored in obj$poly.obj. The result is a cross-comparison matrix.

Value

A numeric matrix containing pairwise comparison values among the hespdiv polygon objects stored in obj$poly.obj.

Note

Polygon cross-comparison is currently not available for the "pielou" method. It is also not supported for custom methods whose compare.f function relies on variables from environments other than the function's own arguments.

Author(s)

Liudas Daumantas

See Also

Other functions for hespdiv results post-processing: hsa(), hsa_detailed(), hsa_quant(), hsa_sample_constrained(), nulltest(), taxon_effect()


hespdiv documentation built on May 21, 2026, 5:09 p.m.