Usage
minimum.contrast.spatiotemporal(data, model, method = "g",
spatial.dens = NULL, temporal.intens = NULL, power = 1,
transform = NULL, spatial.startvals = NULL, temporal.interval = NULL,
verbose = TRUE, ...)
Arguments
data
An object of class 'stppp' from package
'lgcp'. Must be univariate i.e. have '
data$markformat=="none" '
model
Assumed theoretical form of the spatial
correlation function. Matches 'model' argument for
'CovarianceFct' in package RandomFields.
method
Character string indicating which version
of spatial minimum contrast to use: either "K" or "g".
spatial.dens
An object of class 'spatialAtRisk',
or a (possibly unnormalised) pixel image of class 'im',
giving the underlying deterministic spatial density.
temporal.intens
An object of class
'temporalAtRisk', giving the deterministic, possibly
inhomogeneous, temporal intensity.
power
Power to raise the functions to in the
spatial contrast criterion. Default 1.
transform
Transformation to apply to the spatial
functions in the contrast criterion. Default no
transformation.
spatial.startvals
Starting values for 'optim' in
minimising the contrast criterion in the order
c(phi,sigma2). If NULL, the function automatically
attempts to find suitable starting values, though no
guarantee of 'optim' convergence can be given!
temporal.interval
Defaults to c(0.1,10) if NULL.
An interval of the form 'c(lowerlimit,upperlimit)' to be
passed to 'optimise'. This is the interval in which the
function will search for an optimal value for theta (the
scale parameter for temporal dependence). Note
verbose
Boolean. Whether or not to print function
progress.
...
Additional arguments to be passed to 'param'
in evaluation of 'CovarianceFct' (need dependent upon
'model').