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

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

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

                                        Summarizing a Pixel Image
                                         总结像素图像

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

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

summary method for class "im".
summary方法类"im"。


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


  ## S3 method for class 'im'
summary(object, ...)
  ## S3 method for class 'summary.im'
print(x, ...)



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

参数:object
A pixel image.
像素的图像。


参数:...
Ignored.
忽略。


参数:x
Object of class "summary.im" as returned by summary.im.  
类的对象"summary.im"返回的summary.im。


Details

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

This is a method for the generic summary for the class "im". An object of class "im" describes a pixel image. See im.object) for details of this class.
这是方法为通用summary类"im"。一个对象的类"im"的描述了像素的图像。 im.object)这个类的详细信息。

summary.im extracts information about the pixel image, and print.summary.im prints this information in a comprehensible format.
summary.im的像素的图像中提取信息,和print.summary.im打印此信息以易于理解的格式。

In normal usage, print.summary.im is invoked implicitly when the user calls summary.im without assigning its value to anything. See the examples.
在正常使用中,print.summary.im是隐式调用,当用户调用summary.im没有指定任何值。见的例子。

The information extracted by summary.im includes
信息提取summary.im包括




range The range of the image values.
范围图像值的范围。




mean The mean of the image values.
平均图像值的平均值。




integral The “integral” of the image values, calculated as the sum of the image values
积分“积分”的图像值,计算的图像值的总和




dim The dimensions of the pixel array: dim[1] is the number of rows in the array,
昏暗的像素阵列的尺寸:dim[1]是在数组中的行数,


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

summary.im returns an object of class "summary.im", while print.summary.im returns NULL.
summary.im返回一个类的对象"summary.im",而print.summary.im返回NULL。


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




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


  # make an image[使图像]
  X <- as.im(function(x,y) {x^2}, unit.square())
  # summarize it[总结一下]
  summary(X)
  # save the summary[保存汇总]
  s <- summary(X)
  # print it[打印出来]
  print(X)
  s
  # extract stuff[提取的东西]
  X$dim
  X$range
  X$integral

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-6-17 01:25 , Processed in 0.023270 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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