Variogram.default(nlme)
Variogram.default()所属R语言包:nlme
Calculate Semi-variogram
计算半变异函数
译者:生物统计家园网 机器人LoveR
描述----------Description----------
This method function calculates the semi-variogram for an arbitrary vector object, according to the distances in distance. For each pair of elements x,y in object, the corresponding semi-variogram is (x-y)^2/2. The semi-variogram is useful for identifying and modeling spatial correlation structures in observations with constant expectation and constant variance.
这种方法函数计算任意矢量object半变差,根据distance的距离。对于每个元素对x,yobject,相应的半变差(x-y)^2/2,。“半变异函数是用于识别和模拟空间相关结构在不断期望和不断变异的观察。
用法----------Usage----------
## Default S3 method:[默认方法]
Variogram(object, distance, ...)
参数----------Arguments----------
参数:object
a numeric vector with the values to be used for calculating the semi-variogram, usually a residual vector from a fitted model.
与数字矢量被用来从拟合模型计算的半变差,通常是一个残差矢量的值。
参数:distance
a numeric vector with the pairwise distances corresponding to the elements of object. The order of the elements in distance must correspond to the pairs (1,2), (1,3), ..., (n-1,n), with n representing the length of object, and must have length n(n-1)/2.
与数字向量的对应object元素成对距离。在distance元素的顺序必须对应的对(1,2), (1,3), ..., (n-1,n),n代表object,长度,而且必须有长度n(n-1)/2。
参数:...
some methods for this generic require additional arguments. None are used in this method.
这个通用的一些方法需要额外的参数。没有使用这种方法。
值----------Value----------
a data frame with columns variog and dist representing, respectively, the semi-variogram values and the corresponding distances. The returned value inherits from class Variogram.
与列variog和dist代表,分别为,半变异函数值和相应的距离数据框。返回值继承自类Variogram。
作者(S)----------Author(s)----------
Jose Pinheiro and Douglas Bates <a href="mailto:bates@stat.wisc.edu">bates@stat.wisc.edu</a>
参考文献----------References----------
参见----------See Also----------
Variogram, Variogram.gls, Variogram.lme,
Variogram,Variogram.gls,Variogram.lme
举例----------Examples----------
## Not run: [#无法运行:]
fm1 <- lm(follicles ~ sin(2 * pi * Time) + cos(2 * pi * Time), Ovary,
subset = Mare == 1)
Variogram(resid(fm1), dist(1:29))[1:10,]
## End(Not run)[#结束(不运行)]
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|