pweights.uk(SpatialTools)
pweights.uk()所属R语言包:SpatialTools
Calculates Universal Kriging weights
计算泛克里格权重
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Finds Universal Kriging weights using X, the n \times k design matrix for the regression coefficients of the observed data, V, the (positive definite) covariance matrix of the observed responses, Xp, the np \times k design matrix of the responses to be predicted, Vp, the np \times np covariance matrix of the responses to be predicted, and Vop, the n x np matrix of covariances between the observed responses and the responses to be predicted. Uses Armadillo C++ template via RcppArmadillo to perform most of the operations.
查找泛克里格权重使用X,n \times k设计矩阵的回归系数的观测数据,V,(正定)协方差矩阵所观察到的反应,Xp, ,np \times k设计矩阵的反应进行预测,Vp,np \times np协方差矩阵的反应进行预测,并Vop,n x np 要预测所观察到的反应和回应之间的协方差矩阵。使用的犰狳C + +模板通过RcppArmadillo执行的操作。
用法----------Usage----------
pweights.uk(X, V, Xp, Vp, Vop)
参数----------Arguments----------
参数:X
The design matrix of the observed data. The size is n \times k
的设计,所观察到的数据的矩阵。的大小是n \times k
参数:V
The covariance matrix of the observed responses. The size is n times n.
所观察到的响应的协方差矩阵。的大小n times n。
参数:Xp
The design matrix of the responses to be predicted. The size is np \times k </table>
要被预测的响应的设计矩阵。的大小是np \times k</ TABLE>
参数:Vp
The covariance matrix of the responses to be predicted. The size is np \times np
要被预测的协方差矩阵的答复。的大小是np \times np
参数:Vop
The cross-covariance between the observed responses and the responses to be predicted. The size is n \times np
所观察到的反应和要被预测的响应之间的互协方差。的大小是n \times np
值----------Value----------
The function returns a list containing w, the np \times n matrix containing the kriging weights used to calculate the predicted values.
该函数返回一个列表,其中包含w,np \times n基质中含有克里格权重来计算的预测值。
(作者)----------Author(s)----------
Joshua French
参见----------See Also----------
krige.uk
实例----------Examples----------
data(toydata)
X <- toydata$X
V <- toydata$V
Xp <- toydata$Xp
Vp <- toydata$Vp
Vop <- toydata$Vop
pweights.uk(X, V, Xp, Vp, Vop)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|