Nspecies {nodiv} | R Documentation |
Basic attributes of distrib_data
objects
Description
Calculates the species richness and site occupancy of a distrib_data
object
Usage
Nspecies(distrib_data)
Nsites(distrib_data)
richness(distrib_data, sites = NULL)
occupancy(distrib_data, species = NULL)
sites(distrib_data)
species(distrib_data)
coords(distrib_data)
Arguments
distrib_data |
An object of type |
sites |
The site for which to return the richness |
species |
The species for which to return the occupancy |
Value
Nspecies
gives the number of species in the dataset, and Nsites
the number of sites.
richness
gives a numeric vector with the species richness of all sites.
occupancy
gives the number of sites occupied by all species.
sites
gives a list of site names in the object.
species
gives a list of species names in the object.
nodes
gives a node labels or node numbers
coords
returns the spatial coordinates of points or grid cell centers
Author(s)
Michael Krabbe Borregaard
[Package nodiv version 1.4.2 Index]