prev-methods: ~~ Methods for Function 'prev' and 'cleanArchive' in Package...

Description Usage Arguments Methods Note Author(s) See Also Examples

Description

Function prev in package x12 reverts to previous parameter settings and output.
Function cleanHistory resets x12OldParameter and x12OldOutput.

Usage

1
2
3
4
5
6
7
8
## 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)

Arguments

object

object of class x12Single-class or x12Batch-class.

n

index corresponding to a previous run.

index

index corresponding to (an) object(s) of class "x12Single".

Methods

signature(object = "x12Single")
signature(object = "x12Batch")

Note

cleanHistory is deprecated and cleanArchive should be used instead.

Author(s)

Alexander Kowarik

See Also

x12

Examples

1
2
3
4
5
6
7
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)

statistikat/x12 documentation built on Sept. 26, 2018, 4:23 p.m.