envelope.pp3(spatstat)
envelope.pp3()所属R语言包:spatstat
Simulation Envelopes of Summary Function for 3D Point Pattern
三维点模式模拟的摘要函数的信封
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Computes simulation envelopes of a summary function for a three-dimensional point pattern.
计算的汇总函数的三维点模式模拟的信封。
用法----------Usage----------
## S3 method for class 'pp3'
envelope(Y, fun=K3est, nsim=99, nrank=1, ...,
simulate=NULL, verbose=TRUE,
transform=NULL,global=FALSE,ginterval=NULL,
savefuns=FALSE, savepatterns=FALSE,
nsim2=nsim, VARIANCE=FALSE, nSD=2, Yname=NULL, maxnerr=nsim)
参数----------Arguments----------
参数:Y
A three-dimensional point pattern (object of class "pp3").
一个三维点模式(类的对象"pp3"“)。
参数:fun
Function that computes the desired summary statistic for a 3D point pattern.
函数,计算所需的摘要统计为一个三维点模式。
参数:nsim
Number of simulated point patterns to be generated when computing the envelopes.
数量计算的信封时,要产生的模拟点图案。
参数:nrank
Integer. Rank of the envelope value amongst the nsim simulated values. A rank of 1 means that the minimum and maximum simulated values will be used.
整数。包络值之间的nsim模拟值的排名。 1表示A级的最小和最大的值将被用于模拟。
参数:...
Extra arguments passed to fun.
额外的参数传递给fun。
参数:simulate
Optional. Specifies how to generate the simulated point patterns. If simulate is an expression in the R language, then this expression will be evaluated nsim times, to obtain nsim point patterns which are taken as the simulated patterns from which the envelopes are computed. If simulate is a list of point patterns, then the entries in this list will be treated as the simulated patterns from which the envelopes are computed. Alternatively simulate may be an object produced by the envelope command: see Details.
可选。指定如何生成模拟模式。如果simulate是的R语言表达的,那么这个表达式将被评估nsim倍,获得nsim点模式,并以此作为计算模拟模式的信封。如果simulate是一个点模式,然后在此列表中的条目将被视为模拟计算模式的信封。或者simulate可能是一个对象所产生的envelope命令:查看详细信息。
参数:verbose
Logical flag indicating whether to print progress reports during the simulations.
逻辑标志,指示是否打印在模拟的进度报告。
参数:transform
Optional. A transformation to be applied to the function values, before the envelopes are computed. An expression object (see Details).
可选。一种变换被应用到的函数值,计算之前的信封。表达式对象(见详情)。
参数:global
Logical flag indicating whether envelopes should be pointwise (global=FALSE) or simultaneous (global=TRUE).
逻辑标志,指示是否信封应该是逐点(global=FALSE)或同步(global=TRUE“)。
参数:ginterval
Optional. A vector of length 2 specifying the interval of r values for the simultaneous critical envelopes. Only relevant if global=TRUE.
可选。一个向量长度为2r值,同时关键的信封指定的时间间隔。只有相关的,如果global=TRUE。
参数:savefuns
Logical flag indicating whether to save all the simulated function values.
逻辑标志,指示是否保存所有的模拟函数值。
参数:savepatterns
Logical flag indicating whether to save all the simulated point patterns.
逻辑标志,指示是否保存所有的模拟点模式。
参数:nsim2
Number of extra simulated point patterns to be generated if it is necessary to use simulation to estimate the theoretical mean of the summary function. Only relevant when global=TRUE and the simulations are not based on CSR.
额外的模拟生成的点图案,如果它是必要的使用模拟来估计的汇总函数的理论平均数目。只有相关的,当global=TRUE和模拟不根据企业社会责任。
参数:VARIANCE
Logical. If TRUE, critical envelopes will be calculated as sample mean plus or minus nSD times sample standard deviation.
逻辑。如果TRUE,关键信封将被计算样本均值加上或减去nSD倍样本标准偏差。
参数:nSD
Number of estimated standard deviations used to determine the critical envelopes, if VARIANCE=TRUE.
数估计的标准偏差,以确定关键的信封,如果VARIANCE=TRUE。
参数:Yname
Character string that should be used as the name of the data point pattern Y when printing or plotting the results.
应使用的字符的字符串,作为数据点图案Y的名称当打印或绘制的结果。
参数:maxnerr
Maximum number of rejected patterns. If fun yields an error when applied to a simulated point pattern (for example, because the pattern is empty and fun requires at least one point), the pattern will be rejected and a new random point pattern will be generated. If this happens more than maxnerr times, the algorithm will give up.
拒绝模式的最大数量。如果fun产生一个错误,当一个模拟模式(例如,因为该模式是空的,fun要求至少有一个点),该模式将被拒绝和一个新的随机点模式被产生。如果发生这种情况maxnerr倍以上,该算法会放弃。
Details
详细信息----------Details----------
The envelope command performs simulations and computes envelopes of a summary statistic based on the simulations. The result is an object that can be plotted to display the envelopes. The envelopes can be used to assess the goodness-of-fit of a point process model to point pattern data.
envelope命令进行模拟和计算的摘要统计的基础上模拟的信封。结果是一个对象,它可以绘制显示的信封。可用于评估适合的点过程模型点模式数据善良的信封。
The envelope function is generic, with methods for the classes "ppp", "ppm" and "kppm" described in the help file for envelope. This function envelope.pp3 is the method for three-dimensional point patterns (objects of class "pp3").
envelope函数的类的方法是通用的,"ppp","ppm"和"kppm"的帮助文件中描述的envelope。此功能envelope.pp3的方法是的三维点模式(类的对象"pp3"“)。
For the most basic use, if you have a 3D point pattern X and you want to test Complete Spatial Randomness (CSR), type plot(envelope(X, K3est,nsim=39)) to see the three-dimensional K function for X plotted together with the envelopes of the three-dimensional K function for 39 simulations of CSR.
对于最基本的使用,如果你有一个三维点模式X你要测试的完整的空间随机性(CSR),请键入“plot(envelope(X, K3est,nsim=39))看的三维K功能 X绘制连同与信封的三维K函数39模拟CSR。
To create simulation envelopes, the command envelope(Y, ...) first generates nsim random point patterns in one of the following ways.
要创建模拟的信封,命令envelope(Y, ...)第一次产生nsim的随机点模式通过以下方式之一。
If simulate=NULL, then we generate nsim simulations of Complete Spatial Randomness (i.e. nsim simulated point patterns each being a realisation of the uniform Poisson point process) with the same intensity as the pattern Y.
如果simulate=NULL,然后我们生成nsim模拟完整的空间随机性(即nsim模拟点图案是一个统一的泊松点过程中实现)的模式具有相同的强度X>。
If simulate is supplied, then it determines how the simulated point patterns are generated. See envelope for details.
如果simulate提供,然后决定如何生成模拟模式。见envelope的详细信息。
The summary statistic fun is applied to each of these simulated patterns. Typically fun is one of the functions K3est, G3est, F3est or pcf3est. It may also be a character string containing the name of one of these functions.
摘要统计fun被施加到这些模拟模式中的每一个。通常fun的功能之一K3est,G3est,F3est或pcf3est。它也可以是含有这些功能之一的名称的字符串。
For further information, see the documentation for envelope.
欲了解更多信息,请参阅文档envelope。
值----------Value----------
A function value table (object of class "fv") which can be plotted directly. See envelope for further details.
函数值表(对象类"fv"),可以直接绘制。见envelope进一步的细节。
(作者)----------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----------
Analysis of a three-dimensional point pattern with replication. Applied Statistics 42, 641–668.
参见----------See Also----------
pp3, rpoispp3, K3est, G3est, F3est, pcf3est.
pp3,rpoispp3,K3est,G3est,F3est,pcf3est。
实例----------Examples----------
X <- rpoispp3(20, box3())
## Not run: [#不运行:]
plot(envelope(X, nsim=39))
## End(Not run)[#(不执行)]
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|