names | R Documentation |
This function sets or returns the species names in an object.
## S3 replacement method for class 'RapData'
names(x) <- value
## S3 method for class 'RapData'
names(x)
## S3 replacement method for class 'RapUnsolOrSol'
names(x) <- value
## S3 method for class 'RapUnsolOrSol'
names(x)
x |
|
value |
new species names. |
RapData()
, RapUnsolved()
,
RapSolved()
.
## Not run:
# load data
data(sim_rs)
# show names
names(sim_rs)
# change names
names(sim_rs) <- c('spp1', 'spp2', 'spp3')
# show new names
names(sim_rs)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.