Learn R Programming

sdm (version 1.2-55)

names: Names of species

Description

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

Usage

# S4 method for sdmdata
names(x)

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

Value

For names, a character

For names<-, the updated object.

Arguments

x

A sdm data object (sdmdata

value

character (vector)

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

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

d <- read.sdm(file)

d

names(d) # returns the names of species

Run the code above in your browser using DataLab