R语言【taxlist】——levels():获取或设置分类等级列表

Package taxlist version 0.2.4


Description

分类层次结构可以设置为 taxlist 对象中的级别,按从低到高的顺序排列。

在 taxlist 对象中为特定分类概念添加分类级别。此外,概念限制的变化可能涉及其分类层次结构的变化。


Usage

levels(x)

## S3 method for class 'taxlist'
levels(x)

levels(x) <- value

## S3 replacement method for class 'taxlist'
levels(x) <- value

Arguments

参数【x】:一个 taxlist 对象。

参数【value】:替换值的字符向量。


Details

分类级别将作为 taxlist 对象中的因子进行处理。这些级别对于创建相关组的子集很有用(例如,通过函数 get_children() 或 get_parents())。

与父子关系相结合的级别将进一步用于检查分类列表的一致性。

还实现了表单 levels(x) <-  value 的替换方法。


Value

具有添加或修改的分类级别的字符向量或 taxlist 对象。


Examples

levels(Easplist)
[1] "form"       "variety"    "subspecies" "species"    "complex"   
[6] "genus"      "family"
levels(Easplist) <- c("form", "variety", "subspecies", "species", "complex",
    "aggregate", "genus", "family")
summary(Easplist)
object size: 761.5 Kb 
validation of 'taxlist' object: TRUE 

number of taxon usage names: 5393 
number of taxon concepts: 3887 
trait entries: 311 
number of trait variables: 1 
taxon views: 3 

concepts with parents: 3698 
concepts with children: 1343 

hierarchical levels: form < variety < subspecies < species < complex < aggregate < genus < family 
number of concepts in level form: 2
number of concepts in level variety: 95
number of concepts in level subspecies: 71
number of concepts in level species: 2521
number of concepts in level complex: 1
number of concepts in level aggregate: 0
number of concepts in level genus: 1011
number of concepts in level family: 186

最近更新

  1. docker php8.1+nginx base 镜像 dockerfile 配置

    2024-01-27 20:08:02       94 阅读
  2. Could not load dynamic library ‘cudart64_100.dll‘

    2024-01-27 20:08:02       101 阅读
  3. 在Django里面运行非项目文件

    2024-01-27 20:08:02       82 阅读
  4. Python语言-面向对象

    2024-01-27 20:08:02       91 阅读

热门阅读

  1. html:thymeleaf实现日期格式转换

    2024-01-27 20:08:02       73 阅读
  2. Web开发:AES加密解密的demo

    2024-01-27 20:08:02       56 阅读
  3. 开源模型应用落地-业务优化篇(一)

    2024-01-27 20:08:02       65 阅读
  4. 蓝桥杯-4999小蓝的能源挑战(c/c++)

    2024-01-27 20:08:02       54 阅读
  5. 什么是银行虚拟账户,银行云账户有什么用?

    2024-01-27 20:08:02       88 阅读
  6. 创建django项目

    2024-01-27 20:08:02       69 阅读
  7. 【arxiv加载慢的解决方法】

    2024-01-27 20:08:02       60 阅读
  8. LeetCode85. Maximal Rectangle——单调栈

    2024-01-27 20:08:02       45 阅读
  9. 力扣:98. 验证二叉搜索树

    2024-01-27 20:08:02       59 阅读
  10. Android Compose 简单的网络请求框架实例。

    2024-01-27 20:08:02       54 阅读