stpm: an R package for stochastic process model