methods.units(spatstat)
methods.units()所属R语言包:spatstat
Methods for Units
单位方法
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Methods for class "units".
方法类"units"。
用法----------Usage----------
## S3 method for class 'units'
print(x, ...)
## S3 method for class 'units'
summary(object, ...)
## S3 method for class 'units'
rescale(X,s)
## S3 method for class 'units'
compatible(A,B, ..., coerce=TRUE)
参数----------Arguments----------
参数:x,X,A,B,object
Objects of class "units" representing units of length.
对象类"units"代表的长度单位。
参数:s
Conversion factor: the new units are s times the old units.
转换系数:新的单位s倍的旧单位。
参数:...
Other arguments. For print.units these arguments are passed to print.default. For summary.units they are ignored. For compatible.units these arguments are other objects of class "units".
其他参数。对于print.units这些参数传递给print.default。对于summary.units,“他们将被忽略。对于compatible.units这些参数是其他类"units"的对象。
参数:coerce
Logical. If TRUE, a null unit of length is compatible with any non-null unit.
逻辑。如果TRUE,一个空长度单位是兼容与任何非空单元。
Details
详细信息----------Details----------
These are methods for the generic functions print, summary, rescale and compatible for the class "units".
这些方法的通用功能print,summary,rescale和compatible类"units"。
An object of class "units" represents a unit of length.
一个对象的类"units"的代表一种长度单位。
The print method prints a description of the unit of length, and the summary method gives a more detailed description.
print方法打印的描述长度单位,summary方法的给出了更详细的描述。
The rescale method changes the unit of length by rescaling it.
rescale方法改变了长度单位,通过重新定标。
The compatible method tests whether two or more units of length are compatible.
compatible方法测试两个或两个以上的长度单位是否兼容。
值----------Value----------
For print.units the value is NULL. For summary.units the value is an object of class summary.units (with its own print method). For rescale.units the value is another object of class "units". For compatible.units the result is logical.
对于print.units值NULL。对于summary.units的价值是类的一个对象summary.units自己的打印方法。对于rescale.units的值是类"units"另一个目的。 compatible.units的结果是逻辑。
(作者)----------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----------
box3, print, unitname
box3,print,unitname
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|