https://cran.r-project.org/web/packages/tseries/tseries.pdf
