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

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

[复制链接]
发表于 2012-9-30 14:26:55 | 显示全部楼层 |阅读模式
SPCCUSUMlm-class(spcadjust)
SPCCUSUMlm-class()所属R语言包:spcadjust

                                        Class "SPCCUSUMlm"
                                         类“SPCCUSUMlm”

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

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

Risk-adjusted CUSUM chart based on a linear model.
风险调整后的CUSUM图的基础上的线性模型。


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

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


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




Delta: Object of class "numeric"  
Delta:对象类"numeric"的




formula: Object of class "character"  
formula:对象类"character"的


扩展----------Extends----------

Class "SPCCUSUMNonpar", directly. Class "SPCCUSUM", by class "SPCCUSUMNonpar", distance 2. Class "SPCchart", by class "SPCCUSUMNonpar", distance 3.
类"SPCCUSUMNonpar",直接。类"SPCCUSUM",类的“SPCCUSUMNonpar”,距离2。类"SPCchart",类的“SPCCUSUMNonpar”,距离3。


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




updates signature(chart = "SPCCUSUMlm"): ...
更新signature(chart = "SPCCUSUMlm"):...




xiofP signature(chart = "SPCCUSUMlm"): ...
xiofP signature(chart = "SPCCUSUMlm")...


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



Axel Gandy




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


n <- 1000
Xlinreg <- data.frame(x1= rbinom(n,1,0.4), x2= runif(n,0,1), x3= rnorm(n))
Xlinreg$y <- 2 + Xlinreg$x1 + Xlinreg$x2 + Xlinreg$x3 + rnorm(n)

chartlinreg <- new("SPCCUSUMlm",Delta=1,formula="y~x1+x2+x3")
#increase nrep in real applications[在实际应用中增加NREP]
SPCproperty(data=Xlinreg,
            nrep=10,
            property=new("calARLCUSUM",chart=chartlinreg,target=100))
chartlinreg2 <- new("SPCCUSUMlm",Delta=1,formula="y~x1")
#increase nrep in real applications[在实际应用中增加NREP]
SPCproperty(data=Xlinreg,
            nrep=10,
            property=new("calARLCUSUM",chart=chartlinreg2,target=100))

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-6-17 09:10 , Processed in 0.040563 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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