| occurrences {nodiv} | R Documentation |
Access functions to the community matrix of distrib_data objects
Description
Gives the species in a site, or the sites occupied by a species, in a distrib_data object
Usage
occurrences(distrib_data, species, value = c("index", "names", "logical", "raw"))
assemblage(distrib_data, site, value = c("index", "names", "logical", "raw"))
Arguments
distrib_data |
An object of type |
species |
The number or name of a species in the data set |
site |
The number or name of a site in the data set |
value |
The type of data to return, see below. |
Value
type = "01" gives a vector of 0s and 1s from the community matrix
type = "logical" gives a logical vector identifying species or sites
type = "index" gives the index number of species or sites in the community matrix
Author(s)
Michael Krabbe Borregaard
[Package nodiv version 1.4.2 Index]