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

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

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

                                        A (convenience) wrapper function to make matrix from a data.frame
                                         A(方便)包装函数矩阵数据框

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

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

The function mama uses reshape  to transpose species data given in database list format (where each line  represents a species in a plot, so the list has three columns containing  information on plot, species and information on occurence) into a plot  species matrix (where rows represent plots and columns represent species)  for further use with other functions on vegetational data.
的功能mama使用reshape调换的物种数据在数据库列表格式(其中的每一行代表一个物种的图,所以列表中有三列载有关于上发生的图,物种和信息的)成积的物种矩阵(代表图的行和列代表种)为进一步利用与植被数据的其他功能。


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


mama(dat, spl = TRUE)



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

参数:dat
Species data in list format. The columns have to represent plot, species, occurence information (presence/absence or abundances). Column names may differ but they must be in that order! The last column can be missing when these are presence/absence data
种数据以列表格式。列代表的图,种类,发生信息(存在/不存在或丰度)。列名可能会有所不同,但他们必须按照这个顺序!时,这些都是存在/不存在数据的最后一列中可以缺少


参数:spl
Logical. If TRUE (default) mama assumes that the input is species data and formats the output accordingly
逻辑。如果是TRUE(默认情况下)mama的假设的物种数据的输入和输出的格式


Details

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

You could reach the same result with reshape. I was just always quite confused with this. That's why i decided to do this little wrapper for convenience. It needs quite a while to run though, but this is due to reshape.
与reshape你可以达到同样的效果。我只是一直很困惑这个问题。这就是为什么我决定做这个小包装方便。虽然需要相当长的时间来运行,但是,这是由于reshape。


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

Returns a data.frame which contains the presence/absence or abundance data of the species list. Rows represent plots, columns represent species. If you want to have it vice versa you have to use the function on a list with columns species, plots, occurrence information (in that order).
返回data.frame其中包含存在/不存在的物种列表或丰度数据。行表示图,柱代表种。如果你想拥有它,反之亦然,你必须使用的功能列表列species,plots,occurrence information(按顺序)。


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


Gerald Jurasinski



参见----------See Also----------

reshape, data.frame
reshape,data.frame


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


   
data(abis)
abis.spcls <- liste(abis.spec, splist=TRUE)
## see the list, it like what you get from a database[#见列表,它就像你从一个数据库]
## and return to matrix-format:[#并返回以矩阵格式:]
abis.test <- mama(abis.spcls)


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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-5-23 13:26 , Processed in 0.024686 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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