This function determines the optimal value of the smoothing
parameter sigma to be used in a call to loccit.
The function loccit fits
a Cox or cluster point process model
to point pattern data by local composite likelihood.
The degree of local smoothing is controlled by a smoothing parameter
sigma which is an argument to loccit.
For each value of sigma in a search interval,
the function bw.loccit fits the model locally
and evaluates a cross-validation criterion. The optimal value of
sigma is returned.
References
Baddeley, A. (2017) Local composite likelihood for spatial point patterns. Spatial Statistics, In press. DOI: 10.1016/j.spasta.2017.03.001
Baddeley, A., Rubak, E. and Turner, R. (2015)
Spatial Point Patterns: Methodology and Applications with R.
Chapman and Hall/CRC Press.