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

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

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

                                         Get properties of model components
                                         模型组件的属性

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

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

This function can return any of several pieces of static information
这个函数可以返回任何静态信息的几件


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


get.model.property(model.handle,caption.path,requested.property)



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

参数:model.handle
Model handle created when calling load.model()  
型号手柄时调用load.model()


参数:caption.path
Path made from submodel and component captions separated by forward slashes, like a member of the list returned by list.objects()  
路径由斜线分开,如列表中的成员子模型和组件标题的list.objects返回()


参数:requested.property
One of the following strings:     
以下字符串之一:

ClassReturns the component class, i.e., which Simile symbol it is.  
ClassReturns的组件类,也就是说,它是比喻象征。

TypeData type of component's value.   
组件的值TypeData类型。

EvalSource of component's value.   
的组件值EvalSource。

DimsReturns list of the component value's array dimensions.  
DimsReturns列表的组件值的数组的尺寸。

MinVal, MaxVal, Desc, CommentReturn other values or text associated with component in Simile.     
MINVAL,MAXVAL,描述,CommentReturn其他值或在明喻与组件相关联的文本。


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

Form of returned value depends on the requested.property as described above.
返回值的形式取决于上述的requested.property。

For Class it is one of SUBMODEL VARIABLE COMPARTMENT FLOW CONDITION CREATION REPRODUCTION IMMIGRATION LOSS ALARM EVENT SQUIRT STATE
类,它是一个子模型变室水流条件CREATION繁殖移民亏损报警事件SQUIRT状态

For Type: one of VALUELESS REAL INTEGER FLAG EXTERNAL or ENUM(n), where n is the index of a set of enumerated type values.
类型:一种毫无价值真正的整数FLAG外部或ENUM(N),其中n是一组枚举类型值的索引。

For Eval: one of EXOGENOUS DERIVED TABLE INPUT SPLIT GHOST. Fixed parameters have TABLE and variable parameters INPUT for this property.
评估:一是外源派生表的INPUT SPLIT GHOST。固定参数表和变量参数输入此属性。

For Dims it is a list containing integers or the special types RECORDS MEMBERS SEPARATE START_VM END_VM for components in submodels without a preset member count.
变暗,它是一个列表,其中包含整数或特殊类型的记录SEPARATE START_VM END_VM在子模型的组件没有预设的成员数量。

For MinVal and MaxVal it is a number of the same type as the component.
对于minVal和maxVal它是一个数字的相同类型的作为组分。

For Desc and Comment it is a character string.
对于描述和评论,它是一个字符串。


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



Jasper Taylor




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





> get.model.property(model.handle,"/sector/output","Class")
# [1] "COMPARTMENT"[1]“COMPARTMENT”]
> get.model.property(model.handle,"/sector/output","Dims")
# [1] 2 5[[1] 2 5]
>


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


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

使用道具 举报

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

本版积分规则

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

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

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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