envelope.lpp(spatstat)
envelope.lpp()所属R语言包:spatstat
Envelope for Point Patterns on Linear Network
为线性网络上的点图案的信封
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Enables envelopes to be computed for point patterns on a linear network.
启用线性网络的点图案的信封计算。
用法----------Usage----------
## S3 method for class 'lpp'
envelope(Y, fun=linearK, 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)
## S3 method for class 'lppm'
envelope(Y, fun=linearK, 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)
参数----------Arguments----------
参数:Y
A point pattern on a linear network (object of class "lpp") or a fitted point process model on a linear network (object of class "lppm").
点模式的线性网络(类的对象"lpp")或拟合点过程模型的线性网络(类的对象"lppm")。
参数:fun
Function that is to be computed for each simulated pattern.
函数,它是为每个模拟图案计算。
参数:nsim
Number of simulations to perform.
模拟执行数。
参数: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的名称当打印或绘制的结果。
Details
详细信息----------Details----------
This is a method for the generic function envelope applicable to point patterns on a linear network.
这是一种方法的通用函数envelope适用的线性网络上的点图案。
The argument Y can be either a point pattern on a linear network, or a fitted point process model on a linear network. The function fun will be evaluated for the data and also for nsim simulated point patterns on the same linear network. The upper and lower envelopes of these evaluated functions will be computed as described in envelope.
参数Y可以点模式的线性网络,或拟合点过程模型的线性网络。将被评估的数据,也为fun模拟点图案相同的线性网络的功能nsim。这些评价的功能的上部和下部包络线的描述将被计算为在envelope。
The type of simulation is determined as follows.
模拟的类型被确定为如下。
if Y is a point pattern (object of class "lpp") and simulate is missing or NULL, then random point patterns will be generated according to a Poisson point process on the linear network on which Y is defined, with intensity estimated from Y.
如果Y是一个点模式(类的对象"lpp")和simulate丢失或NULL,然后随机点模式将产生一个泊松点过程的线性网络上Y的定义,与强度估计Y的。
if Y is a fitted point process model (object of class "lppm") and simulate is missing or NULL, then random point patterns will be generated by simulating from the fitted model.
如果Y是一装点过程模型(对象类"lppm"),simulate丢失或NULL,然后随机点模式将产生的拟合模型模拟。
If simulate is present, it should be an expression that can be evaluated to yield random point patterns on the same linear network as Y.
simulate如果存在,它应该是一个表达式,可以评估,以产生随机点图案相同的线性网络,Y。
The function fun should accept as its first argument a point pattern on a linear network (object of class "lpp") and should have another argument called r or a ... argument.
的功能fun应该接受一个点作为第一个参数的线性网络模式(类的对象"lpp"),应该有另一种说法叫做r或...参数。
值----------Value----------
Function value table (object of class "fv") with additional information, as described in envelope.
类的对象,函数值表("fv")的其他信息,如在envelope。
(作者)----------Author(s)----------
Ang Qi Wei <a href="mailto:aqw07398@hotmail.com">aqw07398@hotmail.com</a> and
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>
参考文献----------References----------
Statistical methodology for events on a network. Master's thesis, School of Mathematics and Statistics, University of Western Australia.
Geometrically corrected second-order analysis of events on a linear network, with applications to ecology and criminology. To appear in Scandinavian Journal of Statistics.
its computational implementation. Geographical Analysis 33, 271-290.
参见----------See Also----------
envelope, linearK
envelope,linearK
实例----------Examples----------
example(lpp)
# uniform Poisson[统一的泊松]
envelope(X, nsim=4)
# nonuniform Poisson[不均匀的泊松]
fit <- lppm(X, ~x)
envelope(fit, nsim=4)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|