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

R语言 spatstat包 mean.im()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-9-30 13:46:15 | 显示全部楼层 |阅读模式
mean.im(spatstat)
mean.im()所属R语言包:spatstat

                                        Maximum, Minimum, Mean, Median, Range or Sum
                                         最大值,最小值,平均值,中位数,范围或Sum

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

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

Calculates the mean, median, range, sum, maximum or minimum of the pixel values in a pixel image.
计算的平均值,中值,范围,总和,最大值或最小值的像素的图像中的像素值。


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


  ## S3 method for class 'im'
max(x, ...)
  ## S3 method for class 'im'
min(x, ...)
  ## S3 method for class 'im'
mean(x, ...)
  ## S3 method for class 'im'
median(x, ...)
  ## S3 method for class 'im'
range(x, ...)
  ## S3 method for class 'im'
sum(x, ...)



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

参数:x
A pixel image (object of class "im").
像素的图像(类的对象"im"“)。


参数:...
Arguments passed to mean.default.
传递参数到mean.default。


Details

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

These functions calculate the mean, median, range, sum, maximum or minimum of the pixel values in the image x.
这些函数计算的平均值,中值,范围,总和,最大值或最小值中的像素值的图像x。

An object of class "im" describes a pixel image. See im.object) for details of this class.
一个对象的类"im"的描述了像素的图像。 im.object)这个类的详细信息。

The function mean.im is a method for the generic function mean for the class "im". Similarly median.im is a method for the generic median and range.im is a method for range.
函数mean.im是一种通用功能mean类"im"。同样median.im是一个方法的通用median和range.im的方法range。

If the image x is logical-valued, the mean value of x is the fraction of pixels that have the value TRUE. The median is not defined.
如果图像x是逻辑值的平均值x是的馏分的像素的值的TRUE。还没有定义的中位数。

If the image x is factor-valued, then the mean of x is the mean of the integer codes of the pixel values. The median and range are not defined.
,如果图像x因子值,然后的平均值x是平均的像素值的整数代码。中位数和范围没有被定义。

Any arguments in ... are passed to the default method, for example mean.default. In particular, using the argument trim will compute the trimmed mean, as explained in the help for mean.default.
...任何参数被传递到默认的方法,例如mean.default。特别是,使用参数trim计算的截尾均值,作为解释的帮助mean.default。

Other information about an image can be obtained using summary.im or quantile.im.
图像的其他信息,可以使用summary.im或quantile.im。


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

A single number.
一个数字。


(作者)----------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----------

mean, median, range, sum, mean.default, median.default, range.default, quantile.im, im.object, summary.im.
mean,median,range,sum,mean.default,median.default,range.default,quantile.im,im.object,summary.im。


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


  X <- as.im(function(x,y) {x^2}, unit.square())
  mean(X)
  median(X)
  range(X)

  mean(X, trim=0.05)

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-6-15 21:00 , Processed in 0.021222 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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