A wrapper to the function lgcp::minimum.contrast.spatiotemporal
mincontrast_st(data, covariates, boundary, pop.var = "popdens")A data frame consisting of columns x, y, and t, which are two
spatial coordinates and time point respectively.
A spatialPolygonsDataFrame covering the area of interest with the
population density column named popdens
A spatialPolygonsDataFrame of the boundary of the area of interest.
Name of the population density variable
Returned values are the minimum contrast estimates of phi, sigma^2 and theta, as well as the overall squared discrepancy between the parametric and nonparametric forms of the spatial function used corresponding to these estimates.
mincontrast_st provides a simplified wrapper to the
function lgcp::minimum.contrast.spatiotemporal. For more details see
help(lgcp::minimum.contrast.spatiotemporal).