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:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|