| prev-methods | R Documentation |
prev and cleanArchive in Package x12 ~~Function prev in package x12 reverts to previous parameter settings and output.
Function cleanHistory resets x12OldParameter and x12OldOutput.
## S4 method for signature 'x12Single'
prev(object,n=NULL)
## S4 method for signature 'x12Batch'
prev(object,index=NULL,n=NULL)
## S4 method for signature 'x12Single'
cleanHistory(object)
## S4 method for signature 'x12Batch'
cleanHistory(object,index=NULL)
object |
object of class |
n |
index corresponding to a previous run. |
index |
index corresponding to (an) object(s) of class |
signature(object = "x12Single")signature(object = "x12Batch")cleanHistory is deprecated and cleanArchive should be used instead.
Alexander Kowarik
x12
data(AirPassengersX12)
summary(AirPassengersX12)
# a maximum of 10 previous x12 runs are added to the summary
summary(AirPassengersX12,oldOutput=10)
#the x12Parameter and x12Output of the x12Single is set to the previous run of x12
Ap=prev(AirPassengersX12)
summary(AirPassengersX12,oldOutput=10)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.