R package for nonlinear time series analysis