RELEASE NOTES spatstat 1.19-2 09 June 2010 We thank Jorge Mateu, Michael Sumner and Sebastian Luque for contributions. OVERVIEW More support for fitted point process models and pixel images. Improved plotting of pixel images and envelopes. Simulation algorithm for Lennard-Jones process. Improvements and bug fixes to envelopes. Bug fixes to Metropolis-Hastings simulation. NEW FUNCTIONS pairs.im Creates a scatterplot matrix for several pixel images. model.frame.ppm Method for 'model.frame' for point process models. sort.im Method for 'sort' for pixel images. IMPROVEMENTS/ENHANCEMENTS plot.fv, plot.fasp New argument 'shade' enables confidence intervals or significance bands to be displayed as filled grey shading. rmh, rmhmodel These functions will now simulate a point process model that was fitted using the LennardJones() interaction. rmh.default, rmhmodel.default These functions will now simulate a point process model with the Lennard-Jones interaction (cif='lennard'). LennardJones The parametrisation of this model has changed. ecdf This function now works for pixel images. dim, row, col These functions now work for pixel images. order This function now works for pixel images. [.im and [<-.im The subset index can now be any valid subset index for a matrix. density.ppp smooth.ppp The return value now has attributes 'sigma' and 'varcov' reporting the smoothing bandwidth. plot.im The argument 'col' can now be a 'colourmap' object. This makes it possible to specify a fixed mapping between numbers and colours (e.g. so that it is consistent between plots of several different images). rmh spatstat.options spatstat.options now recognises the parameter 'expand' which determines the default window expansion factor in rmh. envelope Now traps errors that may occur in applying the function 'fun' to random data (e.g. if the simulated point pattern is empty). New argument 'maxnerr' controls the number of such errors that will be tolerated. envelope Default value of argument 'control' has been changed. Kest, Kinhom If correction="best", the argument 'nlarge' is effectively set to infinity, so that the same edge correction is computed no matter how many points are in the point pattern. kstest The 'covariate' can be one of the characters "x" or "y" indicating the Cartesian coordinates. BUGS [1] model.matrix.ppm For a fitted model that used a large number of quadrature points, model.matrix.ppm sometimes reported an internal error about mismatch between the model matrix and the quadrature scheme. Fixed. [2] plot.ppx Minor bugs fixed. [3] rmh (rmh.default) In rare cases, the simulated point pattern included multiple points at the origin (0,0). (Bug introduced in spatstat 1.17-0.) Fixed. [4] rmh (rmh.ppm, rmhmodel.ppm) Crashed when applied to a fitted multitype point process model if the model involved more than one covariate image. (Spotted by Jorge Mateu) Fixed. [5] density.psp If any segment had zero length, the result contained NaN values. (Spotted by Michael Sumner and Sebastian Luque.) Fixed. [6] envelope Crashed with fun=Lest or fun=Linhom if the number of points in a simulated pattern exceeded 3000. Fixed. [7] plot.kstest Main title was corrupted if the covariate was a function. Fixed. [8] envelope.ppp Crashed if the object returned by 'fun' did not include a column called "theo". Fixed.