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

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

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

                                        Interactively Add Points
                                         以交互方式添加点

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

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

Allows the user to create a point pattern by point-and-click in the display.
允许用户创建一个点的点和单击显示模式。


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


  clickppp(n=NULL, win=square(1), types=NULL, ..., add=FALSE,
main=NULL, hook=NULL)



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

参数:n
Number of points to be added (if this is predetermined).  
数量的点添加(如果这是预定的)。


参数:win
Window in which to create the point pattern. An object of class "owin".  
窗口,在其中创建点模式。对象的类"owin"。


参数:types
Vector of types, when creating a multitype point pattern.  
向量的类型,当创建一个多类型的点模式。


参数:...
Optional extra arguments to be passed to locator to control the display.  
可选的额外的参数传递给locator控制显示。


参数:add
Logical value indicating whether to create a new plot (add=FALSE) or draw over the existing plot (add=TRUE).  
逻辑值,该值指示是否要创建一个新的绘图(add=FALSE)或绘制在现有的图(add=TRUE)。


参数:main
Main heading for plot.  
主标题图。


参数:hook
For internal use only. Do not use this argument.
仅供内部使用。不要使用此参数。


Details

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

This function allows the user to create a point pattern by interactively clicking on the screen display.
此功能允许用户创建一个点的模式,通过交互式点击屏幕上的显示。

First the window win is plotted on the current screen device. Then the user is prompted to point the mouse at any desired locations and click the left mouse button to add each point. Interactive input stops after n clicks (if n was given) or when the middle mouse button is pressed.
首先窗口win绘制当前屏幕上的设备。然后系统会提示用户将鼠标指向在任何需要的位置,然后点击鼠标左键,添加每个点。交互输入后n点击(如果n),或按下鼠标中键时,停止。

The return value is a point pattern containing the locations of all the clicked points inside the original window win, provided that all of the clicked locations were inside this window. Otherwise, the window is expanded to a box large enough to contain all the points (as well as containing the original window).
返回值是一个点图案内原来的窗口win,提供所有的点击位置,在此窗口内单击的点的位置。否则,将窗口扩大到一个盒子足够大,以包含所有的点(以及包含原始窗口)。

If the argument types is given, then a multitype point pattern will be created. The user is prompted to input the locations of points of type type[i], for each successive index i. (If the argument n was given, there will be n points of each type.) The return value is a multitype point pattern.
如果参数types,然后一个多类型的点模式将被创建。系统将提示用户输入点的位置,类型type[i],为每个连续的指数i。 (如果参数n给定的,有n点的各类型)的返回值是一个多类型的点模式。

This function uses the R command locator to input the mouse clicks. It only works on screen devices such as "X11", "windows" and "quartz". Arguments that can be passed to locator through ... include pch (plotting character), cex (character expansion factor) and col (colour). See locator and par.
这个函数使用R命令locator的鼠标点击输入。它仅适用于屏幕设备,如“X11”,“窗口”和“石英”。参数,可以传递给locator通过...包括pch(绘制字符),cex(字符膨胀系数)和col(彩色)。见locator和par。


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

A point pattern (object of class "ppp").
点模式(类的对象"ppp")。


(作者)----------Author(s)----------


Original by Dominic Schuhmacher.
Adapted by 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----------

identify.ppp, locator, clickpoly
identify.ppp,locator,clickpoly

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-6-12 20:34 , Processed in 0.023409 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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