setcov(spatstat)
setcov()所属R语言包:spatstat
Set Covariance of a Window
设置一个窗口的协变性
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Computes the set covariance function of a window.
计算协方差函数的一个窗口。
用法----------Usage----------
setcov(W, V=W, ...)
参数----------Arguments----------
参数:W
A window (object of class "owin".
一个窗口(对象的类"owin"。
参数:V
Optional. Another window.
可选。另一个窗口。
参数:...
Optional arguments passed to as.mask to control the pixel resolution.
可选参数传递给as.mask控制像素的分辨率。
Details
详细信息----------Details----------
The set covariance function of a region W in the plane is the function C(v) defined for each vector v as the area of the intersection between W and W+v, where W+v is the set obtained by shifting (translating) W by v.
的区域的设定的协方差函数W在平面上的功能是C(v)定义为每个向量v作为区域之间的交点W和W+v ,其中W+v是通过转换(转换)W的v。
We may interpret C(v) as the area of the set of all points x in W such that x+v also lies in W.
我们可以解释C(v)区域的所有点的集合x中W等x+v还在于W。
This command computes a discretised approximation to the set covariance function of any plane region W represented as a window object (of class "owin", see owin.object). The return value is a pixel image (object of class "im") whose greyscale values are values of the set covariance function.
此命令到任何平面区域设置的协方差函数计算离散化的近似W表示为一个窗口对象(类“"owin",看到owin.object)。返回值是一个像素的图像(类的对象"im"),是集协方差函数的值的灰度值。
The set covariance is computed using the Fast Fourier Transform, unless W is a rectangle, when an exact formula is used.
使用快速傅立叶变换计算的集合的协方差,除非W是一个矩形,当使用一个精确的公式。
If the argument V is present, then setcov(W,V) computes the set cross-covariance function C(x) defined for each vector x as the area of the intersection between W and V+x.
如果参数V是本,然后setcov(W,V)计算集合互协方差函数C(x)定义为每个向量x的面积之间的交点W和V+x。
值----------Value----------
A pixel image (an object of class "im") representing the set covariance function of W, or the cross-covariance of W and V.
像素的图像(一个类的对象"im")表示所设置的协方差函数W,或互协方差W和V。
(作者)----------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----------
imcov, owin, as.owin, erosion
imcov,owin,as.owin,erosion
实例----------Examples----------
w <- owin(c(0,1),c(0,1))
v <- setcov(w)
plot(v)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|