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

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

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

                                        Square Window
                                         方形窗口

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

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

Creates a square window
创建一个正方形窗口


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


square(r=1)
unit.square()



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

参数:r
Numeric. The side length of the square, or a vector giving the minimum and maximum coordinate values.  
数字。的正方形的边长,或给予的最小和最大坐标值的向量。


Details

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

If r is a number, square(r) is a shortcut for creating a window object representing the square  [0,r] * [0,r]. It is equivalent to the command owin(c(0,r),c(0,r)).
如果r是一个数字,square(r)是代表方[0,r] * [0,r]创建一个窗口对象的快捷方式。这是相当于命令owin(c(0,r),c(0,r))。

If r is a vector of length 2, then square(r) creates the square with x and y coordinates ranging from r[1] to r[2].
如果r是一个向量,长度为2,那么square(r)创建的平方x和y坐标,从r[1]r[2]的。

unit.square creates the unit square [0,1] * [0,1]. It is equivalent to square(1) or square() or owin(c(0,1),c(0,1)).
unit.square创建单位面积[0,1] * [0,1]。它相当于到square(1)或square()或owin(c(0,1),c(0,1))。

These commands are  included mainly to improve the readability of some code.
这些命令包括主要是为了改善一些代码的可读性。


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

An object of class "owin" (see owin.object) specifying a window.
类的一个对象"owin"(owin.object)指定窗口。


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

owin.object, owin
owin.object,owin


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


W <- square(10)
W <- square(c(-1,1))

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-6-17 02:36 , Processed in 0.039798 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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