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

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

[复制链接]
发表于 2012-9-30 12:22:08 | 显示全部楼层 |阅读模式
Math(spam)
Math()所属R语言包:spam

                                        Mathematical functions
                                         数学函数

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

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

Applies the Math group functions to 'spam' objects
Math组功能spam对象


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


# floor(x)

# exp(x, base = exp(1))
# log(x, base = exp(1))
# sqrt(x)

# abs(x)
# cumprod(x)
# cumsum(x)

# cos(x)
# sin(x)
# tan(x)
# acosh(x)
...



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

参数:x
spam object.
垃圾邮件的对象。


参数:base
positive number.  The base with respect to which logarithms are computed.  Defaults to e=exp(1).
正数。该碱基与尊重,对数计算。默认为e=exp(1)的。


Details

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

It is important to note that the zero entries do not enter the evaluation. The operations are performed on the stored non-zero elements. This may lead to differences if compared with the same operation on a full matrix. For example, the cosine of sparse matrix is a (full) matrix with many ones.
重要的是要注意,零输入不输入评价。的操作进行所存储的非零元素。这可能导致的差异,如果以相同的操作上的全矩阵相比。例如,余弦稀疏矩阵是一个(全)与许多的矩阵。

Evaluating function resulting in NA/NaN/Inf is possible but the result cannot be used further as NA/NaN/Inf are not meaningful (yet).<br>
评估函数,NA /南/ INF是可能的,但结果不能用于进一步NA /南/ INF是没有意义的(还)。<BR>


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

All functions operate on the vector x@entries and return the result thereof.
所有的功能操作上的向量x@entries,并返回结果。


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


Reinhard Furrer



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

Math2
Math2


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


getGroupMembers("Math")

mat <- matrix(c( 1,2,0,3,0,0,0,4,5),3)
smat <- as.spam( mat)
cos( mat)
cos( smat)


sqrt( smat)

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-6-9 19:02 , Processed in 0.026951 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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