marktable(spatstat)
marktable()所属R语言包:spatstat
Tabulate Marks in Neighbourhood of Every Point in a Point Pattern
制表商标的每一个点的邻里点模式
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Visit each point in a point pattern, find the neighbouring points, and compile a frequency table of the marks of these neighbour points.
访问每一个点一个点的图案,找到相邻点,和这些邻居点的标志编译的频率表。
用法----------Usage----------
marktable(X, R, exclude=TRUE)
参数----------Arguments----------
参数:X
A marked point pattern. An object of class "ppp".
一个显着的点模式。对象的类"ppp"。
参数:R
Neighbourhood radius.
邻里半径。
参数:exclude
Logical. If exclude=TRUE, the neighbours of a point do not include the point itself. If exclude=FALSE, a point belongs to its own neighbourhood.
逻辑。如果exclude=TRUE,一个点的邻居不包括点本身。如果exclude=FALSE,这一点属于自己的邻居。
Details
详细信息----------Details----------
This algorithm visits each point in the point pattern X, inspects all the neighbouring points within a radius R of the current point, and compiles a frequency table of the marks attached to the neighbours.
该算法访问中的每个点的点模式X,检查所有相邻点的半径范围内的R目前的点位,并编译连接的邻居的标记的频率表。
The dataset X must be a multitype point pattern, that is, marks(X) must be a factor.
的数据集X必须是多类型的点模式,也就是marks(X)必须是factor。
The result is a two-dimensional contingency table with one row for each point in the pattern, and one column for each possible mark value. The [i,j] entry in the table gives the number of neighbours of point i that have mark j.
其结果是一个二维的图案,并为每个可能的标记值的一列中的每个点的一个行的列联表。 [i,j]表中的条目给出的数字点的邻居i有标记j。
To perform more complicated calculations on the neighbours of every point, use markstat or applynbd.
要执行更复杂的计算上的每一个点的邻居,使用markstat或applynbd。
值----------Value----------
A contingency table (object of class "table") with one row for each point in X, and one column for each possible mark value.
列联表(对象类"table")X,为每一个可能的标记值和一列中的每个点的一排。
(作者)----------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----------
markstat, applynbd, Kcross, ppp.object, table
markstat,applynbd,Kcross,ppp.object,table
实例----------Examples----------
data(amacrine)
head(marktable(amacrine, 0.1))
head(marktable(amacrine, 0.1, exclude=FALSE))
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|