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

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

[复制链接]
发表于 2012-9-30 09:18:03 | 显示全部楼层 |阅读模式
extract(simsem)
extract()所属R语言包:simsem

                                         Extract a part of an object
                                         提取对象的一部分

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

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

Extract a part of an object, such as selecting only a subset of variables from a model specification
提取一部分的对象,如只选择一个变量子集的模型规范


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


extract(object, ...)



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

参数:object
The extracted object  
提取出的对象


参数:...
The specification of the extracted part  
所提取的部分的规范


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

The extracted object
提取出的对象


方法----------Methods----------

The additional argument is pos. This is the position of the extracted vector.
额外的参数是pos。这是所提取的矢量的位置。

The additional arguments are row and col. These are the positions of row and column. This method will prevent the matrix transforming to a vector if the number of rows or columnes is 1.
额外的参数是row和col。这些行和列的位置。此方法将防止到向量的矩阵变换,,如果数量行或columnes是1。

Extract elements from a data.frame. There are several additional arguments. First, if yOnly is TRUE, then the result will provide only Y side. Second, y is the index of indicators in Y side to be extracted. Third, e is the index of factors in Y side to be extracted. Fourth, x is the index of the indicators in X side to be extracted. Fifth, k is the index of the factors in X side to be extracted. Finally, keepOriginalName is to not reorder the extracted variables.
提取元素数据框。还有几个额外的参数。首先,yOnly如果是TRUE,那么结果将只提供Y侧。其次,y是要提取的Y侧的指标指数。三,e是要提取的因素,在Y侧的索引。四,x是该指数的指标在X方要提取。第五,k是要提取的因素在X侧的索引。最后,keepOriginalName是不提取的变量重新排序。


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



Sunthud Pornprasertmanit (University of Kansas; <a href="mailto:psunthud@ku.edu">psunthud@ku.edu</a>)




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

This is the list of classes that can use the extract method.
这是可以使用extract方法的类的列表。

SimMatrix
SimMatrix

SimVector
SimVector

SimSet
SimSet

SimDataDist
SimDataDist


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


extract(1:10, c(4, 5))
extract(diag(3), 1, 2:3)

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-5-24 23:20 , Processed in 0.024404 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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