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

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

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

                                         Theoretical Distribution of Nearest Neighbour Distance
                                         最近邻距离的理论分布

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

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

Density, distribution function, quantile function and random generation for the random distance to the kth nearest neighbour in a Poisson point process in d dimensions.
密度,分布函数,分位数函数和随机生成的随机距离的k日最近的邻居在Poisson点过程中d尺寸。


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


dknn(x, k = 1, d = 2, lambda = 1)
pknn(q, k = 1, d = 2, lambda = 1)
qknn(p, k = 1, d = 2, lambda = 1)
rknn(n, k = 1, d = 2, lambda = 1)



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

参数:x,q
vector of quantiles.
向量的位数。


参数:p
vector of probabilities.
向量的概率。


参数:n
number of observations to be generated.
要生成的观测数。


参数:k
order of neighbour.
为了邻居。


参数:d
dimension of space.
的空间尺寸。


参数:lambda
intensity of Poisson point process.
Poisson点过程的强度。


Details

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

In a Poisson point process in d-dimensional space, let the random variable R be the distance from a fixed point to the k-th nearest random point, or the distance from a random point to the k-th nearest other random point.
在一个的泊松点的过程中d维空间,让随机变量R是k个最近的随机点,或距离,从一个随机的一个固定点的距离点个k最近的其他随机点。

Then R^d has a Gamma distribution with shape parameter k and rate lambda * alpha where alpha is a constant (equal to the volume of the unit ball in d-dimensional space). See e.g. Cressie (1991, page 61).
R^d伽玛分布的形状参数k和速度lambda * alpha其中alpha是一个常数(等于单位球的体积d - 维空间)。例如,参见经验Cressie(1991年,第61页)。

These functions support calculation and simulation for the distribution of R.
这些功能支持计算和仿真的分布R。


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

A numeric vector: dknn returns the probability density, pknn returns cumulative probabilities (distribution function), qknn returns quantiles, and rknn generates random deviates.
一个数值向量:dknn返回概率密度,pknn返回累积概率分布函数,qknn的的回报位数,和rknn随机产生的偏离。


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




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

Statistics for spatial data. John Wiley and Sons, 1991.

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


  x <- seq(0, 5, length=20)
  densities <- dknn(x, k=3, d=2)
  cdfvalues <- pknn(x, k=3, d=2)
  randomvalues <- rknn(100, k=3, d=2)
  deciles <- qknn((1:9)/10, k=3, d=2)

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-6-16 18:10 , Processed in 0.025485 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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