mincontrast_st: Minimum constrast spatio-temporal estimation

Description Usage Arguments Details Value

View source: R/analysis_functions.R

Description

A wrapper to the function lgcp::minimum.contrast.spatiotemporal

Usage

1
mincontrast_st(data, covariates, boundary, pop.var = "popdens")

Arguments

data

A data frame consisting of columns x, y, and t, which are two spatial coordinates and time point respectively.

covariates

A spatialPolygonsDataFrame covering the area of interest with the population density column named popdens

boundary

A spatialPolygonsDataFrame of the boundary of the area of interest.

pop.var

Name of the population density variable

Details

mincontrast_st provides a simplified wrapper to the function lgcp::minimum.contrast.spatiotemporal. For more details see help(lgcp::minimum.contrast.spatiotemporal).

Value

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.


realTimeSurv documentation built on May 18, 2021, 9:07 a.m.