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

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

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

                                        Generate N Uniform Random Points On Line Segments
                                         产生N个均匀分布的随机点在直线段

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

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

Given a line segment pattern, generate a random point pattern consisting of n points uniformly distributed on the line segments.
鉴于线段图案,产生一个随机的点组成的图案n点上均匀分布的线段。


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


runifpointOnLines(n, L)



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

参数:n
Number of points to generate.
数目的点来生成。


参数:L
Line segment pattern (object of class "psp") on which the points should lie.  
线段图(对象的类"psp")的点应该说谎。


Details

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

This command generates a point pattern consisting of n independent random points, each point uniformly distributed on the line segment pattern. This means that, for each random point,
此命令生成一个模式n独立的随机点组成的点,每个点上均匀分布的线段模式。这意味着,每个随机点,

the probability of falling on a particular segment is proportional to the length of the segment; and
落在一个特定的段的链段的长度成正比的概率;

given that the point falls on a particular segment, it has uniform probability density along that segment.
点落在一个特定的段,它具有均匀的概率密度沿该段。


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

A point pattern (object of class "ppp") with the same window as L.
点模式(类的对象"ppp")相同的窗口L。


(作者)----------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, ppp, pointsOnLines, runifpoint
psp,ppp,pointsOnLines,runifpoint


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


  X <- psp(runif(10), runif(10), runif(10), runif(10),  window=owin())
  Y <- runifpointOnLines(20, X)
  plot(X, main="")
  plot(Y, add=TRUE)

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-6-17 19:07 , Processed in 0.028929 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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