get.params(SpatioTemporal)
get.params()所属R语言包:SpatioTemporal
Extract Parameters from a Vector
从Vector中提取参数
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Extracts parameters for the log-likelihood from a parameter vector and separates regression parameters and log-covariance parameters.
提取从一个参数向量的对数似然参数和分离回归参数和log - 协方差参数。
用法----------Usage----------
get.params(x, dimensions)
参数----------Arguments----------
参数:x
A vector containing regression and log-covariance parameters. The ordering of the elements should be <STRONG>exactly</STRONG> that indicated by loglike.var.names.
一个向量,包含回归和log - 协方差参数。元素的顺序应该是的<STRONG>完全</ STRONG>loglike.var.names。
参数:dimensions
Information regarding parameter dimension, output from loglike.dim.
有关参数尺寸,输出从loglike.dim。
值----------Value----------
Returns a list containing:
返回一个列表,其中包含:
参数:gamma
A column matrix of regression coefficients for the spatio-temporal covariate(s).
列矩阵的时空协(S)的回归系数。
参数:alpha
A list of column matrices. Each column matrix contains the regression coefficients for geographic covariates in the corresponding beta field.
的列表栏矩阵。每列的矩阵包含在相应的测试场的GEO协变量的回归系数。
参数:range, sill
Vectors with the range and sill for each of the beta fields. These are back transformed assuming that x contained log range and sill.
向量的β每个字段的范围和窗台。这些转化假设x包含log的范围和阈值。
参数:phi.nu
Range, sill and nugget for the residual fields. Back transformed assuming that x contained log parameters.
范围,窗台和块的剩余字段。返回转化假设x包含的log参数。
(作者)----------Author(s)----------
Johan Lindstr枚m
参见----------See Also----------
Used internally by loglike and simulateMesaData.
内部使用loglike和simulateMesaData。
实例----------Examples----------
##load the data[#加载的数据。]
data(mesa.data.model)
##Compute dimensions for the data structure[#计算尺寸的数据结构]
dim <- loglike.dim(mesa.data.model)
##Let's create random parameter vectors ...[#让我们创建随机参数向量...]
x <- runif(dim$nparam.cov)
x.all <- runif(dim$nparam)
##... and pick them apart[#...并挑选他们除了]
get.params(x, dim)
get.params(x.all, dim)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|