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

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

[复制链接]
发表于 2012-9-30 12:53:37 | 显示全部楼层 |阅读模式
rmvnorm(SpatialTools)
rmvnorm()所属R语言包:SpatialTools

                                         Generates realizations from a multivariate normal distribution
                                         从多元正态分布生成的实现

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

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

Generates realizations from a multivariate normal distribution.
从多元正态分布生成的实现。


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


        rmvnorm(nsim = 1, mu, V, method = "eigen")



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

参数:nsim
An integer indicating the number of realizations from the distribution.  
一个整数,指示数分布实现。


参数:mu
A vector of length n containing the mean value of the multivariate normal distribution.  
长度为n的含有多元正态分布的平均值的向量。


参数:V
The covariance matrix of the multivariate normal distribution.  The matrix should be symmetric and positive definite.  The size must be n times n.  
多元正态分布的协方差矩阵。应该是对称正定矩阵。大小必须是n times n。


参数:method
The method for performing a decomposition of the covariance matrix.  Possible values are "eigen", "chol", and "svd", Eigen value decomposition, Cholesky decomposition, or Singular Value Decomposoition, respectively.  
的协方差矩阵进行分解的方法。可能的值是“本征”,“哲”,“SVD”,本征值分解,Cholesky分解,或奇异值Decomposoition的分别。


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

An n \times nsim matrix containing the nsim realizations of the multivariate normal distribution.  Each column of the matrix represents a realization of the multivariate normal distribution.
n \times nsim基质中含有nsim实现多元正态分布。矩阵的每一列代表一个实现多元正态分布。


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


Joshua French



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

rmvnorm
rmvnorm


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


n <- 20
mu <- 1:n
V <- exp(-dist1(matrix(rnorm(n))))
rmvnorm(nsim = 100, mu = mu, V = V, method = "eigen")

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-6-10 13:27 , Processed in 0.021431 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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