sim function

Time series simulation form an ARIMA or TF model