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

R语言 Simile包 get.value.array()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-9-30 02:50:29 | 显示全部楼层 |阅读模式
get.value.array(Simile)
get.value.array()所属R语言包:Simile

                                         Get values from model components
                                         从模型组件中获取值

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

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

Retrieves data from the model, as either a single quantity or an array of values with the appropriate dimensions
检索模型中的数据,作为一个单一的数量或值的数组,使用适当的尺寸


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



get.value.array(instance.handle, value.name, as.enum.types)



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

参数:instance.handle
The handle returned by create.model(), identifying an executable model instance.  
返回的句柄由create.model(),确定一个可执行的模型实例。


参数:value.name
Caption path to the model component whose values are required  
标题路径的模型组件,其值是必需的


参数:as.enum.types
Logical: whether to supply values as character strings, using enumerated type names if applicable. Default is false: values are numerical.  
逻辑:是否提供字符串值,使用枚举类型的名称(如适用)。默认值是false值是数值。


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

A value or array of values, from the model
从模型中的值或值的数组,


注意----------Note----------

Will not work on components inside variable-membership submodels. For these you should use get.value.list instead, as R's list structure is more appropriate than the array structure when not all values exist.
可变成员的子模型的内部组件无法正常工作。对于这些,你应该使用get.value.list,而作为R的列表结构是更合适的阵列结构存在时,并不是所有的值。


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



Jasper Taylor




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

get.value.list
get.value.list


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





get.value.array(instance.handle,"/sector/output", FALSE)
[1]  0.8414710  0.9092974  0.1411200 -0.7568025 -0.9589243 -0.2794155
[7]  0.6569866  0.9893582  0.4121185 -0.5440211


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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-5-24 11:26 , Processed in 0.020151 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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