all_pairs: Create a dataframe with all pairs in a vector of sites

View source: R/all_pairs.R

all_pairsR Documentation

Create a dataframe with all pairs in a vector of sites

Description

Create a dataframe with all pairs in a vector of sites

Usage

all_pairs(sites)

Arguments

sites

a vector of sites for which all pairs are sought

Value

a dataframe of site pairs (2 columns denoted site1 and site2)

Note

Produces the input for calculating network statistics

Examples

data(mwcats)

all_pairs(mwcats$site[1:5])


nickbond/catchstats documentation built on July 10, 2024, 9:56 a.m.