methods.rhohat(spatstat)
methods.rhohat()所属R语言包:spatstat
Methods for Intensity Functions of Spatial Covariate
强度函数空间协方差的方法
译者:生物统计家园网 机器人LoveR
描述----------Description----------
These are methods for the class "rhohat".
这些方法类"rhohat"。
用法----------Usage----------
## S3 method for class 'rhohat'
print(x, ...)
## S3 method for class 'rhohat'
plot(x, ..., do.rug=TRUE)
## S3 method for class 'rhohat'
predict(object, ..., relative=FALSE)
参数----------Arguments----------
参数:x,object
An object of class "rhohat" representing a smoothed estimate of the intensity function of a point process.
类的一个对象"rhohat"的较平滑估计的强度函数的点处理。
参数:...
Arguments passed to other methods.
参数传递给其他方法。
参数:do.rug
Logical value indicating whether to plot the observed values of the covariate as a rug plot along the horizontal axis.
逻辑值,该值指示是否沿水平轴的地毯图绘制的观测值的协变量。
参数:relative
Logical value indicating whether to compute the estimated point process intensity (relative=FALSE) or the relative risk (relative=TRUE) in the case of a relative risk estimate.
逻辑值,该值指示是否计算估计点过程强度(relative=FALSE)或相对危险度(relative=TRUE)的相对危险度估计的情况下,
Details
详细信息----------Details----------
These functions are methods for the generic commands print, plot and predict for the class "rhohat".
这些功能的通用命令的方法print,plot和predict类"rhohat"。
An object of class "rhohat" is an estimate of the intensity of a point process, as a function of a given spatial covariate. See rhohat.
一个对象的类"rhohat"的是一个估计的点处理的力度,作为一个给定的空间协变量的函数。见rhohat。
The method plot.rhohat displays the estimated function rho using plot.fv, and optionally adds a rug plot of the observed values of the covariate.
的方法plot.rhohat显示函数估计rho使用plot.fv,并选择性地添加一个rug图的观测值的协。
The method predict.rhohat computes a pixel image of the intensity rho(Z(u)) at each spatial location u, where Z is the spatial covariate.
的方法predict.rhohat计算像素的图像,强度rho(Z(u))在每一个空间位置u,其中Z是空间的协变量。
值----------Value----------
For predict.rhohat the value is a pixel image (object of class "im"). For other functions, the value is NULL.
predict.rhohat的值是一个像素的图像(类的对象"im")。对于其它功能,该值是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>
参见----------See Also----------
rhohat
rhohat
实例----------Examples----------
X <- rpoispp(function(x,y){exp(3+3*x)})
rho <- rhohat(X, function(x,y){x})
rho
plot(rho)
Y <- predict(rho)
plot(Y)
# []
fit <- ppm(X, ~x)
rho <- rhohat(fit, "y")
opa <- par(mfrow=c(1,2))
plot(predict(rho))
plot(predict(rho, relative=TRUE))
par(opa)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|