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
相关推荐
whn197714 小时前
centos10.1上安装mysql 9.6
数据库·mysql
石小石Orz14 小时前
Harness Engineering 到底是什么?概念、实战与争议,一次全部讲清楚
前端·后端
悠哉摸鱼大王14 小时前
cesium学习(三)-3d tiles
前端·cesium
前端那点事14 小时前
Vue3自定义Hooks保姆级教程!从原理到企业级实战,告别混乱代码
前端·vue.js
薪火铺子14 小时前
布隆过滤器原理与 Redis 防穿透实战
数据库·redis·缓存
前端那点事14 小时前
别再乱用Vue3响应式!ref、reactive、toRef、toRefs完整区别+企业级落地实战
前端·vue.js
yingyima14 小时前
Base64 编码解码实战:业务场景下的高效应用
前端
网络工程小王14 小时前
【LangGraph 子图(Subgraph)详解】学习笔记
java·服务器·数据库·人工智能·langchain
悠哉摸鱼大王14 小时前
cesium学习(五)-Primitive
前端·cesium
悟空瞎说14 小时前
Git Worktree 实战:多 AI 编码代理并行开发,彻底解决分支切换冲突痛点
前端·git