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
相关推荐
Escalating_xu2 小时前
【MySQL】事务管理(上):从 ACID 到提交回滚,把一次转账真正做完整
android·数据库·mysql
不喝水就会渴4 小时前
「不想上班」实战系列:密码卡证保险箱 —— 主密钥存入 Asset,密文落库 RDB【鸿蒙心迹】
数据库·oracle
西泽XIZ95 小时前
微信小程序网络与数据库交互实践:从后端环境搭建到数据渲染
网络·数据库·微信小程序·小程序
TiDB 社区干货传送门7 小时前
平凯数据库携手东软医保共筑智慧医保,构建可靠、安全、开放的数据底座
数据库·tidb·国产数据库
Java展博7 小时前
[前端够用就好] 跨域报错时,浏览器到底在拦谁
前端·状态模式
用户112936112197 小时前
npm 都提示成功了,node_modules 为什么还占着 370M?
linux·前端·后端
掘金安东尼8 小时前
Agent Harness 也有 benchmark:评分榜与评测工作台现状
前端·agent
digger_4198 小时前
从零理解 Electron:主进程、渲染进程、preload 与 IPC 实战
前端·electron
YYYing.8 小时前
【Mysql剑指offer系列 (七) 】MySQL性能调优和架构
数据库·mysql·八股