R语言【taxlist】——clean():移除孤立的记录

Package taxlist version 0.2.4


Description

对于 taxlist 类对象的操作可能会产生独立的条目。clean() 方法就是用来删除这样的条目,并恢复 taxlist 对象的一致性。


Usage

R 复制代码
clean(object, ...)

## S4 method for signature 'taxlist'
clean(object, times = 2, ...)

Arguments

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

参数【...】:从其他方法传入或传入其他方法的进一步参数。

参数【times】:一个整数,表示应该重复清洗多少次。


Detail

对象的清理将按照删除独立的名称,独立的分类单元特征条目和独立地父类条目进行。


Value

返回一个清理后的 taxlist 对象。


Examples

R 复制代码
Easplist@taxonRelations <- Easplist@taxonRelations[1:5, ]

## Now apply cleaning
Easplist <- clean(Easplist)
summary(Easplist)
复制代码
object size: 7.8 Kb 
validation of 'taxlist' object: TRUE 

number of taxon usage names: 7 
number of taxon concepts: 5 
trait entries: 0 
number of trait variables: 1 
taxon views: 3 

hierarchical levels: form < variety < subspecies < species < complex < genus < family 
number of concepts in level form: 0
number of concepts in level variety: 0
number of concepts in level subspecies: 0
number of concepts in level species: 5
number of concepts in level complex: 0
number of concepts in level genus: 0
number of concepts in level family: 0
相关推荐
还有你Y23 分钟前
Shell 脚本语法
前端·语法·sh
踩着两条虫2 小时前
如何评价VTJ.PRO?
前端·架构·ai编程
2301_803875613 小时前
PHP 中处理会话数组时的类型错误解析与修复指南
jvm·数据库·python
m0_743623923 小时前
c++如何批量修改文件后缀名_std--filesystem--replace_extension【实战】
jvm·数据库·python
Mh3 小时前
鼠标跟随倾斜动效
前端·css·vue.js
2501_914245933 小时前
CSS如何处理CSS变量作用域冲突_利用特定类名重写变量值
jvm·数据库·python
小码哥_常4 小时前
Kotlin类型魔法:Any、Unit、Nothing 深度探秘
前端
maqr_1105 小时前
MySQL数据库迁移到云端如何保障安全_数据加密与SSL连接配置
jvm·数据库·python
u0109147605 小时前
MySQL如何限制触发器递归调用的深度_防止触发器死循环方法
jvm·数据库·python
Web极客码5 小时前
深入了解WordPress网站访客意图
服务器·前端·wordpress