Closed alexkowa closed 6 years ago
how can i use x12 package on R with user defined dummy holiday?
This example might help:
xs <- x12(new("x12Single",ts=AirPassengers)) regressor <- sample(c(0,1),length(AirPassengers)+36,replace=TRUE) write.table(regressor,row.names=FALSE,file="reg.txt",col.names = FALSE) x1s <- x12(setP(xs,list(regression.file="reg.txt",regression.user="custreg",regression.usertype="td")))
how can i use x12 package on R with user defined dummy holiday?
This example might help: