This function sets or returns the species names in an object.

# S3 method for RapData
names(x) <- value

# S3 method for RapData
names(x)

# S3 method for RapUnsolOrSol
names(x) <- value

# S3 method for RapUnsolOrSol
names(x)

Arguments

x

RapData(), RapUnsolved(), or RapSolved() object.

value

new species names.

See also

Examples

# load data data(sim_rs) # show names names(sim_rs)
#> NULL
# change names names(sim_rs) <- c('spp1', 'spp2', 'spp3') # show new names names(sim_rs)
#> [1] "spp1" "spp2" "spp3"