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

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

[复制链接]
发表于 2012-9-30 02:44:31 | 显示全部楼层 |阅读模式
Strata-class(simFrame)
Strata-class()所属R语言包:simFrame

                                        Class "Strata"
                                         类“阶层”

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

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

Class containing strata information for a data set.
类的地层信息的数据集。


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

Objects can be created by calls of the form new("Strata", ...) or  Strata(...).
可以创建对象通过调用的形式new("Strata", ...)或Strata(...)。

However, objects are expected to be created by the function  stratify, these constructor functions are not supposed to be  called by the user.
但是,对象预计会创造stratify,这些构造函数不应该是由用户调用的功能。


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




values: Object of class "integer" giving the stratum
values:类的对象"integer"的阶层




split: Object of class "list"; each list element  contains the indices of the observations belonging to the corresponding
split类的对象"list",每个列表元素都包含属于相应的观察指标




design: Object of class "character" giving the
design:类的对象"character"给




nr: Object of class "integer" giving the stratum
nr:类的对象"integer"的阶层




legend: Object of class "data.frame" describing the
legend:类的对象"data.frame"描述




size: Object of class "numeric" giving the stratum
size:类的对象"numeric"的阶层




call: Object of class "OptCall"; the function call
call:类"OptCall";函数调用的对象


存取方法----------Accessor methods----------




getValues signature(x = "Strata"): get slot
getValuessignature(x = "Strata"):得到插槽




getSplit signature(x = "Strata"):  get slot
getSplitsignature(x = "Strata"):得到插槽




getDesign signature(x = "Strata"): get slot
getDesignsignature(x = "Strata"):得到插槽




getNr signature(x = "Strata"): get slot nr.
getNrsignature(x = "Strata"):得到插槽nr。




getLegend signature(x = "Strata"): get slot
getLegendsignature(x = "Strata"):得到插槽




getSize signature(x = "Strata"): get slot size.
getSizesignature(x = "Strata"):得到插槽size。




getCall signature(x = "Strata"): get slot call.
getCallsignature(x = "Strata"):得到插槽call。


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




head signature(x = "Strata"): returns the first parts
“headsignature(x = "Strata"):返回的第一部分




show signature(object = "Strata"): print strata
showsignature(object = "Strata"):打印阶层




simApply signature(x = "data.frame", design = "Strata",
simApply <CODE>签名(X =“数据框”,设计=“地层”




simSapply signature(x = "data.frame", design = "Strata",
simSapply <CODE>签名(X =“数据框”,设计=“地层”




summary signature(object = "Strata"): produce a
summarysignature(object = "Strata"):产生




tail signature(x = "Strata"): returns the last parts
tailsignature(x = "Strata"):返回的最后部分


UML类图----------UML class diagram----------

A slightly simplified UML class diagram of the framework can be found in  Figure 1 of the package vignette An Object-Oriented Framework for  Statistical Simulation: The R Package simFrame.  Use  vignette("simFrame-intro") to view this vignette.
稍微简单的UML类图的框架,可以发现在图1的包小插曲统计模拟方法的一种面向对象的框架:R封装simFrame。使用vignette("simFrame-intro")查看这个小插曲。


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

There are no mutator methods available since the slots are not supposed to  be changed by the user.
客人没有mutator方法可用,因为槽不应该由用户改变。


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


Andreas Alfons



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

stratify
stratify


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


showClass("Strata")

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-5-24 12:24 , Processed in 0.026055 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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