abbr: Get Abbreviations used to Encode Species and Layer Replicates

Description Usage Arguments Details Value Author(s) See Also Examples

Description

Get the abbreviations (abbr) used to encode scientific species names. There are methods for Species and Taxonomy classes, as well as for Vegsoup objects.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
## S4 method for signature 'Vegsoup'
abbr(obj)

## S4 replacement method for signature 'Vegsoup'
abbr(obj) <- value

## S4 method for signature 'Vegsoup'
abbr.layer(obj)

## S4 method for signature 'Species'
abbr(obj)

## S4 method for signature 'Taxonomy'
abbr(obj)

Arguments

obj

a Vegsoup*, Species or Taxonomy object.

value

character. Useful to change abbreviations.

Details

For 'vegsoup' objects abbr returns sort(unique(species(obj)$abbr)) and for Species or Taxonomy objects the method returns column abbr from slot 'data'.

Value

character.

Author(s)

Roland Kaiser

See Also

splitAbbr layers as.array

Examples

1
2
3
4

vegsoup documentation built on Feb. 24, 2021, 3 a.m.