R code for fitting a nonhomogeneous temporal Poisson process model using the spatstat package In my previous blog post I showed how to fit power and loglinear nonhomogeneous Poisson process (NHPP) models to temporal data. The following R code fits these same two models, but this time using the spatstat package. Continue reading R code for fitting a nonhomogeneous temporal Poisson process model using the spatstat package