View source: R/Methods_for_data_objects.R
occurrences | R Documentation |
distrib_data
objects
Gives the species in a site, or the sites occupied by a species, in a distrib_data
object
occurrences(distrib_data, species, value = c("index", "names", "logical", "raw"))
assemblage(distrib_data, site, value = c("index", "names", "logical", "raw"))
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. |
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
Michael Krabbe Borregaard
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.