A carbon-copy of ginhomAverage from package 'lgcp', with extra control over the printing of progress bars and other output to the console during execution. Computes the time-averaged version of the nonparametric PCF (for use with spatiotemporal data).
my.ginhomAverage(
xyt,
spatial.intensity,
temporal.intensity,
time.window = xyt$tlim,
rvals = NULL,
correction = "iso",
suppresswarnings = FALSE,
verbose = TRUE,
...
)
an object of class stppp.
A spatialAtRisk object giving the possibly inhomogeneous underlying fixed spatial density of the data.
A temporalAtRisk object giving the possibly inhomogeneous underlying fixed temporal intensity of the data.
Time interval contained in the interval xyt$tlim over which to compute average. Useful if there is a lot of data over a lot of time points.
Vector of values for the argument r at which g(r) should be evaluated (see ?pcfinhom). There is a sensible default.
Choice of edge correction to use, see ?pcfinhom, default is Ripley isotropic correction.
Whether or not to suppress warnings generated by pcfinhom.
Whether or not to print function comments and progress to the console during execution. Defaults to TRUE.
Other parameters to be passed to pcfinhom, see ?pcfinhom.
A vector corresponding to the time-averaged PCF for spatiotemporal data, evaluated at spatial lags defined by 'rvals'.