RELEASE NOTES spatstat 1.17-5 06 jan 2010 OVERVIEW Nearest-neighbour methods extended and vastly accelerated. Minor additions, improvements and bug fixes. NEW FUNCTIONS pairdist.pp3 crossdist.pp3 nndist.pp3 nnwhich.pp3 Interpoint distances for three-dimensional point patterns periodify Make several shifted copies of a spatial pattern and optionally combine them into a single periodic pattern. dknn pknn qknn rknn Density, distribution function, quantile function and random generation for the random distance to the k-th nearest neighbour in a Poisson point process in d dimensions. dim.hyperframe dim.fasp dim(), nrow() and ncol() are now defined for hyperframes and function arrays. IMPROVEMENTS/ENHANCEMENTS nndist.ppp nndist.default nnwhich.ppp nnwhich.default Accelerated by three orders of magnitude in the case k > 1 (code rewritten in C). nndist, nnwhich The argument 'k' can now be a vector: k = 2:3 specifies the second and third nearest neighbours. envelope Default plot behaviour improved in the case VARIANCE=TRUE. demo(spatstat) Substantial additions and improvements. BUGS [1] pairdist, crossdist If periodic=TRUE was selected, and the window was not square, the periodic distances were calculated incorrectly. Fixed. [2] ppm If correction="periodic" was selected, and the window was not square, the correction was computed wrongly. Fixed. [3] pairdist.default, pairdist.ppp When method="interpreted" was selected, the argument 'squared' was ignored (and taken to be FALSE). Fixed. [4] envelope when VARIANCE=TRUE, the upper and lower significance bands 'hi' and 'lo' were wrongly labelled (hi and lo were exchanged). Fixed. [5] rNeymanScott, rMatClust, rThomas, rGaussPoisson When the parent intensity 'kappa' was a pixel image, error messages were generated incorrectly. Fixed. [6] plot.ppp If 'rejected points' were present, and if the window was a mask, then the window obscured the points. Fixed. [7] envelope when VARIANCE=TRUE, the default plotting behaviour was unsatisfactory. Fixed.