extractMatrixNames(simsem)
extractMatrixNames()所属R语言包:simsem
Extract a vector of parameter names based on specified rows and columns
根据指定的行和列提取的向量参数名称
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Extract a vector of parameter names based on specified rows and columns
根据指定的行和列提取的向量参数名称
用法----------Usage----------
extractMatrixNames(columnName, keepRow=NULL, keepCol=NULL)
参数----------Arguments----------
参数:columnName
A column name representing matrix elements (e.g., LY2_1) that will be used to be extracted
列名代表将用于提取矩阵元素(例如,LY2_1)
参数:keepRow
The rows of the matrix that we need to keep
我们需要不断的矩阵的行
参数:keepCol
The columns of the matrix that we need to keep
列的矩阵,我们需要保持
值----------Value----------
A list that contains: 1) columnName: Original column name and 2) newName: Reordered column name.
一个列表,其中包含:1)columnName的:原始列名和2)newName的:重新排序的列名。
(作者)----------Author(s)----------
Sunthud Pornprasertmanit (University of Kansas; <a href="mailto:psunthud@ku.edu">psunthud@ku.edu</a>)
实例----------Examples----------
# The function is not public[该功能是不公开]
# vec <- c("LY1_1", "LY2_1", "LY3_1", "LY4_2", "LY5_2", "LY6_2", "LY7_3")[向量< - C(“LY1_1”,“LY2_1”中,“LY3_1”,“LY4_2”,“LY5_2”中,“LY6_2”,“LY7_3”)]
# extractMatrixNames(vec, 5:6, 2)[extractMatrixNames(VEC,5:6,2)]
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|