names {sdm}R Documentation

Names of species

Description

Get or set the names of the species of a sdmdata object

Usage

## S4 method for signature 'sdmdata'
names(x)

## S4 replacement method for signature 'sdmdata'
names(x)<-value

Arguments

x

A sdm data object (sdmdata

value

character (vector)

Value

For names, a character

For names<-, the updated object.

Author(s)

Babak Naimi naimi.b@gmail.com

https://www.r-gis.net/

https://www.biogeoinformatics.org/

References

Naimi, B., Araujo, M.B. (2016) sdm: a reproducible and extensible R platform for species distribution modelling, Ecography, 39:368-375, DOI: 10.1111/ecog.01881

Examples

file <- system.file("external/data.sdd", package="sdm")

d <- read.sdm(file)

d

names(d) # returns the names of species

[Package sdm version 1.2-46 Index]