makeprec(spam)
makeprec()所属R语言包:spam
Create Precision Matrices
创建精密矩阵
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Creates precision matrices for gridded GMRF.
创建精确的矩阵网格GMRF。
用法----------Usage----------
make.prec(par, dims, model = "m1p1", eps = .Spam$eps)
参数----------Arguments----------
参数:par
parameters used to construct the matrix.
参数,用来构造矩阵。
参数:dims
dimension of the grid.
网格尺寸。
参数:model
see details and examples.
查看详细信息和例子。
参数:eps
A tolerance parameter: elements of 'x' such that 'abs(x) <= eps' set to zero. Defaults to 'eps = .Spam$eps'
容差参数:元素的x使得ABS(X)= EPS设置为零。默认为EPS =。垃圾EPS“
Details
详细信息----------Details----------
The function should be illustrative on how to create precision matrices for gridded GMRF. Hence, no testing (positive definiteness is done). Please see the examples on the meaning of the different models.
功能应该是说明如何创建精确的矩阵网格GMRF。因此,没有测试(正定性完成)。的不同型号的含义,请参阅上的例子。
值----------Value----------
A spam matrix of dimension prod(dims)xprod(dims).
Aspam矩阵的维prod(dims)Xprod(dims)。
(作者)----------Author(s)----------
Reinhard Furrer
参见----------See Also----------
toeplitz.spam, kronecker.spam
toeplitz.spam,kronecker.spam
实例----------Examples----------
as.matrix(make.prec(c(.4), c(4,3),'m1p1'))
as.matrix(make.prec(c(.4,.3), c(4,3),'m1p2'))
as.matrix(make.prec(c(.4,.3,.2), c(4,3),'m2p3'))
as.matrix(make.prec(c(.4,.3,.2,.1),c(4,3),'m2p4'))
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|