找回密码
 注册
查看: 316|回复: 0

R语言 spBayes包 mkMvX()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-9-30 14:23:30 | 显示全部楼层 |阅读模式
mkMvX(spBayes)
mkMvX()所属R语言包:spBayes

                                        Make a multivariate design matrix
                                         做一个多元的设计矩阵

                                         译者:生物统计家园网 机器人LoveR

描述----------Description----------

Given m univariate design matrices, the function mkMvX creates a multivariate design matrix suitable for use in spPredict.
鉴于m的单变量设计矩阵,功能mkMvX创建一个多变量设计矩阵适合在spPredict用于。


用法----------Usage----------


  mkMvX(X)



参数----------Arguments----------

参数:X
a list of m univariate design matrices.  The matrices must have the same number of rows (i.e., observations) but may have different number of columns (i.e., regressors).  
的列表m的单因素设计矩阵。矩阵必须具有相同的行数(即,观察),但可以具有不同的列数(即,回归量)。


值----------Value----------

A multivariate design matrix suitable for use in spPredict.
一个多元的设计矩阵,适合使用在spPredict。


(作者)----------Author(s)----------



Andrew O. Finley <a href="mailto:finleya@msu.edu">finleya@msu.edu</a>, <br>
Sudipto Banerjee <a href="mailto:sudiptob@biostat.umn.edu">sudiptob@biostat.umn.edu</a>.




参见----------See Also----------

spPredict
spPredict


实例----------Examples----------


##Define some univariate model design matrices[#先定义一些单变量模型设计矩阵]
##with intercepts.[#拦截。]
X.1 <- cbind(rep(1, 10), matrix(rnorm(50), nrow=10))
X.2 <- cbind(rep(1, 10), matrix(rnorm(20), nrow=10))
X.3 <- cbind(rep(1, 10), matrix(rnorm(30), nrow=10))

##Make a multivariate design matrix suitable[#做一个多元的设计矩阵,适合]
##for use in spPredict.[#用于在spPredict。]
X.mv <- mkMvX(list(X.1, X.2, X.3))

转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。


注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

手机版|小黑屋|生物统计家园 网站价格

GMT+8, 2025-6-17 02:14 , Processed in 0.030221 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表