compareFit(spatstat)
compareFit()所属R语言包:spatstat
Residual Diagnostics for Multiple Fitted Models
剩余的诊断多的拟合模型
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Compares several fitted point process models using the same residual diagnostic.
比较了几种拟合点过程模型,使用相同的残余诊断。
用法----------Usage----------
compareFit(object, Fun, r = NULL, breaks = NULL, ...,
trend = ~1, interaction = Poisson(), rbord = NULL,
modelnames = NULL, same = NULL, different = NULL)
参数----------Arguments----------
参数:object
Object or objects to be analysed. Either a fitted point process model (object of class "ppm"), a point pattern (object of class "ppp"), or a list of these objects.
待分析的一个或多个对象。无论是拟合点过程模型(对象类"ppm"),点模式(对象类"ppp"),或这些对象的列表。
参数:Fun
Diagnostic function to be computed for each model. One of the functions Kcom, Kres, Gcom, Gres, psst, psstA or psstG or a string containing one of these names.
诊断功能要为每个模型计算。的功能之一Kcom,Kres,Gcom,Gres,psst,psstA或psstG或一个字符串包含一个这些名称。
参数:r
Optional. Vector of values of the argument r at which the diagnostic should be computed. This argument is usually not specified. There is a sensible default.
可选。向量参数的值r的诊断应计算。这种说法是没有规定。有一个合理的默认。
参数:breaks
Optional alternative to r for advanced use.
可选替代r先进的。
参数:...
Extra arguments passed to Fun.
额外的参数传递给Fun。
参数:trend,interaction,rbord
Optional. Arguments passed to ppm to fit a point process model to the data, if object is a point pattern or list of point patterns. See ppm for details. Each of these arguments can be a list, specifying different trend, interaction and/or rbord values to be used to generate different fitted models.
可选。参数传递给ppm,以适应一个点过程模型的数据,如果object是一个点的点图案的图案或列表。见ppm的详细信息。这些参数都可以是一个列表,指定不同的trend,interaction和/或rbord值被用来产生不同的拟合模型。
参数:modelnames
Character vector. Short descriptive names for the different models.
字符向量。简短的描述不同型号的名称。
参数:same,different
Character strings or character vectors passed to collapse.fv to determine the format of the output.
字符串或字符向量传递给collapse.fv,以确定的格式输出。
Details
详细信息----------Details----------
This is a convenient way to collect diagnostic information for several different point process models fitted to the same point pattern dataset, or for point process models of the same form fitted to several different datasets, etc.
这是一个方便的方式来收集诊断信息,为几个不同的点过程模型安装到同一个点模式数据集,或点过程模型具有相同的形式安装到几个不同的数据集,等
The first argument, object, is usually a list of fitted point process models (objects of class "ppm"), obtained from the model-fitting function ppm.
第一个参数,object,通常是列表拟合点过程模型(对象类"ppm"),从模型的拟合函数ppm。
For convenience, object can also be a list of point patterns (objects of class "ppp"). In that case, point process models will be fitted to each of the point pattern datasets, by calling ppm using the arguments trend (for the first order trend), interaction (for the interpoint interaction) and rbord (for the erosion distance in the border correction for the pseudolikelihood). See ppm for details of these arguments.
为了方便起见,object也可以是点图案的列表(类的对象的"ppp")。在这种情况下,点过程模型将被安装到每个点模式数据集,通过调用ppm使用参数trend(第一批订单的趋势),interaction(的INTERPOINT互动)和rbord在边界的pseudolikelihood改正的侵蚀距离。见ppm这些参数的详细信息。
Alternatively object can be a single point pattern (object of class "ppp") and one or more of the arguments trend, interaction or rbord can be a list. In this case, point process models will be fitted to the same point pattern dataset, using each of the model specifications listed.
或者object可以是一个单点模式(类的对象"ppp")和一个或多个参数trend,interaction或rbord可以是一个列表。在这种情况下,点过程模型将被安装到同一个点模式数据集,使用每个列出的规格型号。
The diagnostic function Fun will be applied to each of the point process models. The results will be collected into a single function value table. The modelnames are used to label the results from each fitted model.
将被应用到每个点的过程模型的诊断功能Fun。结果将被收集到一个单一的函数值表。 modelnames是用来标示每个拟合模型的结果。
值----------Value----------
Function value table (object of class "fv").
函数值表(类的对象"fv")。
(作者)----------Author(s)----------
Ege Rubak,
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 Jesper Moller.
参见----------See Also----------
ppm, Kcom, Kres, Gcom, Gres, psst, psstA, psstG, collapse.fv
ppm,Kcom,Kres,Gcom,Gres,psst,psstA,psstG,collapse.fv
实例----------Examples----------
nd <- 40
ilist <- list(Poisson(), Geyer(7, 2), Strauss(7))
iname <- c("Poisson", "Geyer", "Strauss")
K <- compareFit(swedishpines, Kcom, interaction=ilist, rbord=9,
same="iso", different="icom", modelnames=iname, nd=nd)
K
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|