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

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

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

                                        Endpoints of Line Segment Pattern
                                         端点的线段模式

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

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

Extracts the endpoints of each line segment in a line segment pattern.
提取的每个线段的端点的线段图案。


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


  endpoints.psp(x, which="both")



----------Arguments----------

参数:x
A line segment pattern (object of class "psp").  
一个线段模式(类的对象"psp")。


参数:which
String specifying which endpoint or endpoints should be returned. See Details.  
应该返回字符串中指定的端点或端点。查看详细信息。


Details

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

This function extracts one endpoint, or both endpoints, from each of the line segments in x, and returns these points as a point pattern object.
此函数提取的一个端点,或两个端点,在x从每个线段的,并返回这些点作为点图案对象。

The argument which determines which endpoint or endpoints of each line segment should be returned:
的参数which确定每个线段的端点或端点的应退还:

(the default): both endpoints of each line segment are returned. The result is a point pattern with twice as many points as there are line segments in x.
(默认值):每条线段的两个端点返回。其结果是一个点的两倍多的点的图案,作为在x有线段。

select the first endpoint of each line segment (returns the points with coordinates x$ends$x0, x$ends$y0).
选择每个线段的第一个端点(返回坐标点x$ends$x0, x$ends$y0“)。

select the second endpoint of each line segment (returns the points with coordinates x$ends$x1, x$ends$y1).
选择每个线段的第二个端点(返回点的坐标x$ends$x1, x$ends$y1“)。

select the left-most endpoint (the endpoint with the smaller x coordinate) of each line segment.
选择最左边的各线段的端点(端点的小x坐标)。

select the right-most endpoint (the endpoint with the greater x coordinate) of each line segment.
选择最右边的每条线段的端点(端点更大的x坐标)。

select the lower endpoint (the endpoint with the smaller y coordinate) of each line segment.
选择较低的每条线段的端点(端点的小y坐标)。

select the upper endpoint (the endpoint with the greater y coordinate) of each line segment.
选择上每条线段的端点(端点更大的y坐标)。

The result is a point pattern. It also has an attribute "id" which is an integer vector identifying the segment which contributed each point.
其结果是一个点的图案。它也有一个属性"id",它是一个整数矢量识别提供的每一个点的区段。


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

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


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

psp.object, ppp.object, midpoints.psp
psp.object,ppp.object,midpoints.psp


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


  a <- psp(runif(10), runif(10), runif(10), runif(10), window=owin())
  plot(a)
  b <- endpoints.psp(a, "left")
  plot(b, add=TRUE)

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-6-13 18:21 , Processed in 0.027153 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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