rat(spatstat)
rat()所属R语言包:spatstat
Ratio object
比对象
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Stores the numerator, denominator, and value of a ratio as a single object.
存储的分子,分母值的比例作为一个单独的对象。
用法----------Usage----------
rat(ratio, numerator, denominator, check = TRUE)
参数----------Arguments----------
参数:ratio,numerator,denominator
Three objects belonging to the same class.
三属于同一个类的对象。
参数:check
Logical. Whether to check that the objects are compatible.
逻辑。是否要检查的对象是compatible。
Details
详细信息----------Details----------
The class "rat" is a simple mechanism for keeping track of the numerator and denominator when calculating a ratio. Its main purpose is simply to signal that the object is a ratio.
类"rat"是跟踪的分子和分母,计算比率时,一种简单的机制。其主要目的是简单的信号,对象是一个比。
The function rat creates an object of class "rat" given the numerator, the denominator and the ratio. No calculation is performed; the three objects are simply stored together.
的功能rat创建类的一个对象"rat"的分子,分母的比率。不进行计算的三个对象是简单地存储在一起。
The arguments ratio, numerator, denominator can be objects of any kind. They should belong to the same class. It is assumed that the relationship
的参数ratio,numerator,denominator可以是任何类型的对象。它们应该属于同一类。它是假定的关系
holds in some version of arithmetic. However, no calculation is performed.
认为在某些版本的算术。然而,不进行计算。
By default the algorithm checks whether the three arguments ratio, numerator, denominator are compatible objects, according to compatible.
默认情况下,该算法检查的三个参数,是否ratio,numerator,denominator是兼容的对象,根据compatible。
The result is equivalent to ratio except for the addition of extra information.
其结果是相当于ratio除了增加了额外的信息。
值----------Value----------
An object equivalent to the object ratio except that it also belongs to the class "rat" and has additional attributes numerator and denominator.
对象的对象ratio不同的是它也属于类"rat",并有额外的属性numerator和denominator。
(作者)----------Author(s)----------
Adrian Baddeley
<a href="mailto:Adrian.Baddeley@csiro.au">Adrian.Baddeley@csiro.au</a>
<a href="http://www.maths.uwa.edu.au/~adrian/">http://www.maths.uwa.edu.au/~adrian/</a>
and Rolf Turner
<a href="mailto:r.turner@auckland.ac.nz">r.turner@auckland.ac.nz</a>
参见----------See Also----------
compatible, pool
compatible,pool
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|