An R package for spatio-temporal data analysis