找回密码
 注册
查看: 326|回复: 0

R语言 simba包 bb2num()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-9-30 02:28:18 | 显示全部楼层 |阅读模式
bb2num(simba)
bb2num()所属R语言包:simba

                                         Transform Braun-Blanquet scale data to percentage cover values and vice versa
                                         变换的博朗布兰奎特规模的数据所占百分比值,反之亦然

                                         译者:生物统计家园网 机器人LoveR

描述----------Description----------

The function allows for an easy transformation of Braun-Blanquet (or any other phytosciological scale) data to numeric values for numerical analysis or vice versa. Be aware that this transformation is not losless regarding the information content.
该功能允许一个简单的变换的博朗布兰奎特(或任何其他phytosciological规模)的数值数据,以数值分析或反之亦然。要知道,这种转变是不losless有关的信息内容。


用法----------Usage----------


bb2num(dat, from = c("r", "+", "1", "2", "3", "4", "5"),
to = c(0.1, 1, 5, 15, 37.5, 62.5, 87.5))



参数----------Arguments----------

参数:dat
A species matrix.  
一个物种矩阵。


参数:from
Definition of the imput scale. Per default the transformation is done from the classic Braun-Blanquet scale to cover percentages. For transformation from numerical values to a phytosociological scale see details and example.  
定义的种输入规模。每默认的转换是从经典的的博朗布兰奎特规模的覆盖百分比。从数值转变到为了保护规模查看详细信息和例子。


参数:to
Definition of the output scale. The default are the recommended class centers when transforming BB to percentage cover values. Can be changed according to your needs. See details.  
定义的输出比例。默认情况下是转换时BB的百分比盖度类中心的建议。可根据您的需求。查看详细信息。


Details

详细信息----------Details----------

When transforming from a phytosociological scale to Braun-Blanquetfrom and to have to be the same length. In case of transformation from numerical cover values to a phytosociological scale the function expects a numerical vector in from that, for each class, gives the lower and upper limit. Thus, length(from) == 2*length(to) in this case.
从植物社会学规模博朗布兰奎特from和to必须是相同的长度。在转型,从数值盖度到植物社会学规模的情况下,该函数需要一个数值向量from,为每个类给出的上限和下限。因此,length(from) == 2*length(to)在这种情况下。


值----------Value----------

Returns a species matrix in the specified format.
在指定的格式返回一个物种矩阵。


(作者)----------Author(s)----------



Gerald Jurasinski <a href="mailto:gerald.jurasinski@uni-rostock.de">gerald.jurasinski@uni-rostock.de</a>




实例----------Examples----------


## Create a species that occurs on 7 plots[#创建一个物种发生的7幅图]
## with all the different possibilities of[#所有的不同的可能性。]
## the BB scale[#BB规模,]
spec <- c("r", "+", "0", "1", "2", "3", "4", "5")

## Create a highly artificial species matrix.[#创建一个高度人工化的物种矩阵。]
## All species are the same for simplicity [#为简单起见,所有的物种都是一样的]
dat.bb <- data.frame(spec, spec, spec, spec, spec, spec)

## Transform from BB scale to percentage values[#变换BB规模的百分比值]
dat.proc <- bb2num(dat.bb)

## When transforming back the class definitions are a little[#当转换类的定义是一点点]
## more complicated. Just give the lower and upper limits for[#更加复杂。只要给的上限和下限]
## each class in the from vector class for class.[#每个类中的向量类的类。]
from <- c(0, 0.1, 0.1, 2, 2, 5, 5, 25, 25, 50, 50, 75, 75, 100)
to <- c("r", "+", "1", "2", "3", "4", "5")
bb2num(dat.proc, from=from, to=to)


转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。


注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

手机版|小黑屋|生物统计家园 网站价格

GMT+8, 2025-5-23 21:02 , Processed in 0.020925 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表