parent_level {SoilTaxonomy} | R Documentation |
Parent/Child Hierarchy
Description
Parent/Child Hierarchy
Usage
parent_level(level, n = 1)
child_level(level, n = 1)
Arguments
level |
character. Initial level name of a taxon. Vectors include values that are one of: |
n |
Number of levels above/below (parent/child). Default: |
Value
character. Level name of parent or child at specified level above input level
.
Examples
parent_level('subgroup')
child_level('greatgroup')
parent_level('family', 3)
# no level above order
parent_level('family', 5)
[Package SoilTaxonomy version 0.2.4 Index]