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

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

[复制链接]
发表于 2012-9-30 12:48:10 | 显示全部楼层 |阅读模式
pinpoly(spatialkernel)
pinpoly()所属R语言包:spatialkernel

                                        Check if Points are within Polygon
                                         检查点是在多边形

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

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

Check the location of point(s) with respect to a polygon.
检查点(s)的位置相对于一个多边形。


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


  pinpoly(poly, pts)



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

参数:poly
matrix containing the x,y-coordinates of the vertices of the polygon boundary.
基质中含有x,y-坐标的顶点的多边形的边界。


参数:pts
matrix of containing the x,y-coordinates of the point locations.
矩阵x,y坐标点位置。


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

An integer vector of indicators for each point in pts,
一个整数向量指标中的每个点pts,


参数:-1
error when number of polygon vertices exceeds 3000;
错误多边形顶点的数量超过3000个;


参数:0
outside the polygon;
外面的多边形;


参数:1
at the polygon boundary;
在多边形的边界;


参数:2
inside the polygon.
内的多边形。


注意----------Note----------

This function is provided here so that users do not need to load other packages, as it is not available in the base R packages.
这里提供此功能,因此用户并不需要加载其他的包,因为它是不可用的baseR包。

The return values have been changed from the original ones so that the point is inside (including at the boundary) if positive.
返回值已经从原来的使该点内(包括边界),如果积极的改变。


参考文献----------References----------

Electrical, Computer, and Systems Engineering Department, Rensselaer Polytechnic Institute, Troy, New York, at website  http://www.ecse.rpi.edu/Homepages/wrf.

参见----------See Also----------

phat and mcseg.test
phat和mcseg.test

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-6-10 05:44 , Processed in 0.019404 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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