dis_loop: Helper to calculate dissimilarities in loop

Description Usage Arguments Value

View source: R/selected_sites_DI.R

Description

Helper to calculate dissimilarities in loop

Usage

1
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.


biosurvey documentation built on Sept. 16, 2021, 1:07 a.m.