x12Batch-class(x12)
x12Batch-class()所属R语言包:x12
Class "x12Batch"
类“x12Batch”
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Concatenation of multiple x12Single-class objects.
级联多个x12Single-class对象。
类对象----------Objects from the Class----------
Objects can be created by calls of the form new("x12Batch", tsList, tsName, x12BaseInfo).
可以创建对象通过调用的形式new("x12Batch", tsList, tsName, x12BaseInfo)。
插槽----------Slots----------
x12List: Object of class "x12List" ~~
x12List:对象类"x12List"~~
x12BaseInfo: Object of class "x12BaseInfo" ~~
x12BaseInfo:对象类"x12BaseInfo"~~
方法----------Methods----------
cleanHistory signature(object = "x12Batch"): ...
cleanHistory signature(object = "x12Batch")...
dim signature(x = "x12Batch"): ...
昏暗的signature(x = "x12Batch"):...
getP signature(object = "x12Batch"): ...
getP signature(object = "x12Batch")...
length signature(x = "x12Batch"): ...
长度signature(x = "x12Batch"):...
prev signature(object = "x12Batch"): ...
上一页signature(object = "x12Batch"):...
setP signature(object = "x12Batch"): ...
的SETPsignature(object = "x12Batch"):...
summary signature(object = "x12Batch"): ...
总结signature(object = "x12Batch"):...
X12 signature(object = "x12Batch"): ...
X12signature(object = "x12Batch"):...
(作者)----------Author(s)----------
Alexander Kowarik
参见----------See Also----------
X12, x12Single, x12Parameter, x12List, x12Output, x12BaseInfo, summary.x12, x12
X12,x12Single,x12Parameter,x12List,x12Output,x12BaseInfo,summary.x12,x12
实例----------Examples----------
#object containing 4 time series and the corresponding parameters and output[对象,其中包含4个时间序列和相应的参数和输出]
data(AirPassengersX12Batch)
summary(AirPassengersX12Batch)
#summary with oldOutput[总结与oldOutput]
summary(AirPassengersX12Batch,oldOutput=10)
#Change the parameter and output of the first series back to the first run[在第一次运行中改变参数和输出的第一串联回]
AirPassengersX12Batch <- prev(AirPassengersX12Batch,index=1,n=1)
#summary with oldOutput (--- No valid previous runs. ---)[总结oldOutput(---以前没有有效的运行。---)]
summary(AirPassengersX12Batch,oldOutput=10)
## Not run: [#不运行:]
#Create new batch object with 4 time series[创建一批新的对象有4个时间序列]
xb <- new("x12Batch",list(AirPassengers,AirPassengers,AirPassengers,AirPassengers))
# change the automdl to FALSE in all 4 elements[在所有4个元素为FALSE,改变automdl]
xb <- setP(xb,list(automdl=FALSE))
#change the arima and sarima setting for the first ts object[改变ARIMA和的SARIMA设置为第一个TS对象]
xb <- setP(xb,list(arima=c(1,1,0),sarima=c(1,1,0)),1)
#change the arima and sarima setting for the second ts object[改变ARIMA和的SARIMA设置为第二TS对象]
xb <- setP(xb,list(arima=c(0,1,1),sarima=c(0,1,1)),2)
#change the arima and sarima setting for the third ts object[改变ARIMA和的SARIMA设置为第三TS对象]
xb <- setP(xb,list(arima=c(0,1,1),sarima=c(1,1,1)),3)
#change the arima and sarima setting for the fourth ts object[改变ARIMA和的SARIMA设置为第四TS对象]
xb <- setP(xb,list(arima=c(1,1,1),sarima=c(1,1,1)),4)
#run X12 on all series[运行X12全系列]
xb <- X12(xb)
summary(xb)
#Set automdl=TRUE for the first ts[设置automdl的第一个TS = TRUE]
xb <- setP(xb,list(automdl=TRUE),1)
#rerun X12 on all series (the binaries will only run on the first one)[重新运行X12全系列(二进制文件将只能运行在第一个)]
xb <- X12(xb)
#summary with oldOutput[总结与oldOutput]
summary(xb,oldOutput=10)
#Change the parameter and output of the first series back to the first run[在第一次运行中改变参数和输出的第一串联回]
xb <- prev(xb,index=1,n=1)
#summary with oldOutput (--- No valid previous runs. ---)[总结oldOutput(---以前没有有效的运行。---)]
summary(xb,oldOutput=10)
## End(Not run)[#(不执行)]
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|