Skip to contents

Helper to calculate dissimilarities in loop

Usage

dis_loop(site_spp_list, icol, fcol, method = "jaccard", verbose = TRUE, ...)

Arguments

site_spp_list

list of presence absence matrices for a set of sites or cells of a grid.

icol

number of column where the species list (other columns) starts.

fcol

number of column where the species list (other columns) ends.

method

(character) dissimilarity index to be passed to function vegdist. Default = "jaccard". See details.

verbose

(logical) whether or not to print messages about the process. Default = TRUE.

...

other arguments to be passed to function vegdist.

Value

A list of results from vegdist.