赞
踩
Package taxlist version 0.2.4
检索或替换类taxlist对象中的槽taxonViews。
- taxon_views(taxlist, ...)
-
- ## S3 method for class 'taxlist'
- taxon_views(taxlist, ...)
-
- taxon_views(taxlist, ...) <- value
-
- ## S3 replacement method for class 'taxlist'
- taxon_views(taxlist, ...) <- value
-
- add_view(taxlist, taxonViews, ...)
-
- ## S4 method for signature 'taxlist,data.frame'
- add_view(taxlist, taxonViews, ...)
参数【taxlist】:一个 taxlist 对象。
参数【...】:在方法之间传递的进一步参数。
参数【value】:类data.frame的对象,其中包含用于定义taxlist中包含的分类单元概念的限制的引用。
参数【taxonViews】:将在'taxlist'中插入分类单元视图的数据框架。
分类单元视图在分类列表对象中指出确定各自分类单元概念界限的引用。在添加新概念时(参见add_concept()),相应的引用可能还没有出现在输入taxlist对象中。
分类单元视图一词由Zhong等人(1996)提出,对应于用于定义概念的参考文献。
这个函数从类taxlist的对象中检索slot taxonViews。
替换方法 taxon_views<- 替换槽taxonViews的全部内容,并且仅建议在从空原型构造新的taxlist对象时使用。
带有添加视图的taxlist类的对象。
taxon_views(Easplist)
ViewID secundum view_bibtexkey 1 1 African Plant Database (2012) CJBGSANBI2012 2 2 Taxonomic Name Resolution Service (2018) TNRS2018 3 3 The Plant List (2013) TPL2013
- sp_list <- add_view(taxlist = Easplist, taxonViews = data.frame(
- secundum = "Beentje et al. (1952)",
- Title = "Flora of Tropical East Africa",
- URL = "http://www.kew.org/science/directory/projects/FloraTropEAfrica.html"))
-
- taxon_views(sp_list)
ViewID secundum view_bibtexkey
1 1 African Plant Database (2012) CJBGSANBI2012
2 2 Taxonomic Name Resolution Service (2018) TNRS2018
3 3 The Plant List (2013) TPL2013
4 4 Beentje et al. (1952) <NA>
Title
1 <NA>
2 <NA>
3 <NA>
4 Flora of Tropical East Africa
URL
1 <NA>
2 <NA>
3 <NA>
4 http://www.kew.org/science/directory/projects/FloraTropEAfrica.html
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。