make_shared_sp_matrix: Produce a "number of shared species" matrix from a...

Description Usage Arguments Details Value

View source: R/make_shared_sp_matrix.R

Description

Produce a "number of shared species" matrix from a presence/absence matrix

Usage

1
make_shared_sp_matrix(pres_abs_matrix)

Arguments

pres_abs_matrix

a presence/absence matrix with sites as rows and species as columns

Details

this might be useful for testing the reconstruction of a presence/absence matrix from a "shared species" matrix that includes alpha and pairwise beta values for sites.

Value

matrix where each cell contains the number of species shared between the column and row.


pmckenz1/mcpdiversity documentation built on May 25, 2019, 9:25 a.m.