plot.kstest(spatstat)
plot.kstest()所属R语言包:spatstat
Plot a Spatial Kolmogorov-Smirnov Test
绘制一个空间Kolmogorov-Smirnov检验
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Plot the result of a spatial Kolmogorov-Smirnov test
绘制空间Kolmogorov-Smirnov测试结果
用法----------Usage----------
## S3 method for class 'kstest'
plot(x, ...,
lwd=par("lwd"), col=par("col"), lty=par("lty"),
lwd0=lwd, col0=col, lty0=lty)
参数----------Arguments----------
参数:x
Object to be plotted. An object of class "kstest" produced by a method for kstest.
要绘制的对象。类的一个对象"kstest"生产的方法为kstest。
参数:...
extra arguments that will be passed to the plotting function plot.default.
额外的参数将被传递给绘图功能plot.default。
参数:col,lwd,lty
The width, colour and type of lines used to plot the empirical distribution.
线用于绘制的经验分布的宽度,颜色和类型的。
参数:col0,lwd0,lty0
The width, colour and type of lines used to plot the predicted distribution.
线用于绘制的预测分布的宽度,颜色和类型的。
Details
详细信息----------Details----------
This is the plot method for the class "kstest". An object of this class represents the outcome of a spatial Kolmogorov-Smirnov test, computed by kstest.
这是plot方法的类"kstest"。这个类的对象代表了一个空间的Kolmogorov-Smirnov检验,计算出kstest结果。
The plot displays the two cumulative distribution functions that are compared by the test: namely the empirical cumulative distribution function of the covariate at the data points, and the predicted cumulative distribution function of the covariate under the model, both plotted against the value of the covariate.
该图显示两个累积分布函数进行比较的试验:即在数据点的协变量的经验累积分布函数,和预测的累积分布函数的协变量模型下,既暗算的协变量的值。
值----------Value----------
NULL.
NULL。
(作者)----------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----------
kstest
kstest
实例----------Examples----------
# synthetic data: nonuniform Poisson process[合成数据:不均匀的泊松过程]
X <- rpoispp(function(x,y) { 100 * exp(x) }, win=square(1))
# fit uniform Poisson process[符合统一的泊松过程]
fit0 <- ppm(X, ~1)
# test covariate = x coordinate[测试协= x坐标]
xcoord <- function(x,y) { x }
# test wrong model[测试错误的模型]
k <- kstest(fit0, xcoord)
# plot result of test[图的测试结果]
plot(k, lwd0=3)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|