make.sigma.B(SpatioTemporal)
make.sigma.B()所属R语言包:SpatioTemporal
Create Covariance Matrix for the beta-Fields
建立协方差矩阵的β-场
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Creates the block diagonal covariance matrix for the beta fields.
创建块对角协方差矩阵的测试领域。
用法----------Usage----------
make.sigma.B(sill, range, dists)
参数----------Arguments----------
参数:sill, range
Vectors with the sill and range parameters for each of the block matrices.
每个分块矩阵的阈值和范围参数向量。
参数:dists
Distance matrix giving the distances between the (observed) locations.
给予(实测值)的位置之间的距离的距离矩阵。
值----------Value----------
Returns a block diagonal covariance matrix with one block for each of the elements in the vectors sill and range. Each block contains the exponential covariance matrix for the elements in the dists matrix.
返回一个块对角的一个块中的每个元素的协方差矩阵与向量sill和range。每个块包含指数dists矩阵中的元素的协方差矩阵。
(作者)----------Author(s)----------
Johan Lindstr枚m and Adam Szpiro
参见----------See Also----------
make.sigma.B.full, make.sigma.nu.
make.sigma.B.full,make.sigma.nu。
This function is called by loglike.
此功能被称为loglike。
实例----------Examples----------
##First create some random locations[#首先创建一些随机的位置]
x <- rnorm(5)
y <- rnorm(5)
##compute distance matrix[#计算距离矩阵]
D <- as.matrix(dist( cbind(x,y) ))
##create a block diagonal matrix consisting of three parts with[#创建三个部分组成的块对角矩阵]
##different sill and range (nugget=0) and exponential covariance[#不同的阈值和范围(掘金= 0)和指数的协方差]
##function[#函数]
sill <- c(2,1,3)
range <- c(.3,1,.5)
make.sigma.B(sill, range, D)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|