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

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

[复制链接]
发表于 2012-2-25 17:57:15 | 显示全部楼层 |阅读模式
map(flowMerge)
map()所属R语言包:flowMerge

                                         Map matrix of probabilities to class assignments.
                                         图矩阵类任务的概率。

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

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

Traverse the rows of a matrix of probabilities of size n x k, where the n rows are samples, and the k columns are the probability of assignment of the sample to each of k classes. The most probable class assignment is selected for each row and a vector of classes is returned.
遍历的大小nxk,概率矩阵的行n行的样本,k列的k类的样本分配的概率。最有可能的课堂作业被选中的每一行,并返回类的向量。


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


map(z, ...)



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

参数:z
A matrix of probabilities.  
概率矩阵。


参数:...
Additional arguments, not currently used.  
额外的参数,而不是目前使用的。


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

A vector of class assignments of lenght n.
一个向量长度n课堂作业。


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



Greg Finak <greg.finak@ircm.qc.ca>, Raphael Gottardo <raphael.gottardo@ircm.qc.ca>




举例----------Examples----------


z<-t(apply(t(replicate(100,rgamma(5,0.1,1))),1,function(x)x/sum(x)));
map(z);

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-2-8 21:17 , Processed in 0.025269 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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