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

R语言 MVCClass包 gModel-class()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-2-26 07:41:24 | 显示全部楼层 |阅读模式
gModel-class(MVCClass)
gModel-class()所属R语言包:MVCClass

                                        Class "gModel": A virtual class for models
                                         类的“gModel”:一类虚拟模型

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

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

gModel is a virtual class from which all other model classes will inherit. Model objects will be responsible for storing and updating the data sets.
gModel是所有其他的模型类将继承一个虚拟类。模型中的对象将是负责存储和更新数据集。


类的对象----------Objects from the Class----------

A virtual Class: No objects may be created from it.
可以从它创建一个虚拟类:无对象。


插槽----------Slots----------




modelData: the actual model data
modelData:实际的模型数据




linkData: a list of the functions to link this data to its
linkData:这个数据链接它的职能列表




virtualData: data that pertains to the views of this model
virtualData:数据属于这种模式的意见




modelName: the name of the model (will be the same name as
modelName:模型的名称(会的名称相同。




modelVar: a list of variables that refer to the modelData (for instance this may be t-test values that were calculated from the
modelVar“:指的modelData(例如,这可能是从计算的t检验值的变量列表


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




linkData<- Sets the linkData slot
linkData < - 设置linkData插槽




linkData Returns the linkData slot
linkData返回linkData插槽




modelData<- Sets the modelData slot
modelData < - 设置modelData插槽




modelData Returns the modelData slot
modelData返回modelData插槽




modelName<- Sets the modelName slot
modelName < - 设置modelName插槽




modelName Returns the modelName slot
modelName返回modelName插槽




virtualData<- Sets the virtualData slot
virtualData < - 设置virtualData插槽




virtualData Returns the virtualData slot
virtualData返回virtualData插槽




modelVar<- Sets the modelVar slot
modelVar < - 设置modelVar插槽




modelVar Returns the modelVar slot
modelVar返回modelVar插槽

Also, all models will have an updateModel method that will be defined in the packages that use this package (for example, iSPlot and iSNetwork).  The updateModel method will be called by a gUpdateDataMessage object when the data needs to be updated.  Another method that may be defined for certain models is the provideInfo method that will return model information when it is asked for by a gAskAncestorMessage object.
此外,所有车型将有UpdateModel方法,将使用此程序包(例如,iSPlot和iSNetwork)在包中定义的。 UpdateModel方法将被调用由gUpdateDataMessage对象时,数据需要更新。另一种可能为某些型号的定义方法是provideInfo的方法,将返回模型的信息,当它被要求由gAskAncestorMessage对象。


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


Elizabeth Whalen



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

dfModel-class
dfModel-class

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-2-3 01:12 , Processed in 0.021592 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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