simVector(simsem)
simVector()所属R语言包:simsem
Create simVector that save free parameters and starting values, as well as fixed values
创建simVector自由参数的初始值,以及固定值,除
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Create SimVector object that save free parameters and starting values, as well as fixed values. This will be used for model specification later, such as for factor mean vector or measurement error variance vector.
创建SimVector对象,除自由参数的初始值,以及固定值。这将用于型号规格后,如因子均值向量或测量误差方差矢量。
用法----------Usage----------
simVector(free = NULL, value = NULL)
参数----------Arguments----------
参数:free
Vector of free parameters. Use NA to specify free parameters. Use number as fixed value (including zero). If this argument is not specified, the information from the value argument is used. The positions in the value argument that are 0 or "" are fixed parameters as 0. The other positions are free parameters.
向量的自由参数。使用NA到指定的自由参数。使用数字为固定值(包括零)。如果这个参数没有被指定,value参数的信息。在value参数是0或“”的位置是固定的参数为0。其他位置的参数。
参数:value
Starting values. Can be either one element or vector with the same length as free parameter vector. Each element can be numbers (in either as.numeric or as.character format) or the name of distribution object VirtualDist.
启动值。可以是一个元件或矢量作为自由参数矢量具有相同的长度。每个元素都可以是数字(在是as.numeric或as.character格式)或发行对象VirtualDist的名称。
值----------Value----------
SimVector object that will be used for model specification later.
SimVector对象将用于型号规格。
(作者)----------Author(s)----------
Sunthud Pornprasertmanit (University of Kansas; <a href="mailto:psunthud@ku.edu">psunthud@ku.edu</a>)
参见----------See Also----------
See SimVector for the resulting object.
见SimVector的对象。
See simMatrix for creating simMatrix.
见simMatrix:创建simMatrix。
See symMatrix for creating symmetric simMatrix.
见symMatrix:创建对称的simMatrix的。
实例----------Examples----------
factor.mean <- rep(NA, 4)
AL <- simVector(factor.mean, 0)
n02 <- simNorm(0, 0.2)
factor.start <- rep("n02", 4)
KA <- simVector(factor.mean, factor.start)
start <- c(2, 0, 0, 1)
VE <- simVector(value=start)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|