RELEASE NOTES spatstat 1.16-1 27 july 2009 We thank Lin Yiching and Juanita Choo for suggestions. OVERVIEW New geometrical operations. Extensions to cluster model fitting and simulation code. Variance approximations for Kest. Several minor improvements. NEW FUNCTIONS as.polygonal Converts any window to a polygonal window. perimeter Computes the perimeter length of a window. bermantest Berman's tests for dependence of a point pattern on a spatial covariate erosion, dilation, opening, closing These morphological operations are now generic, with methods for 'owin', `ppp' and 'psp'. simulate.ppm A method for 'simulate' for the class 'ppm'. (essentially a wrapper for rmh.ppm) IMPROVEMENTS/ENHANCEMENTS envelope Now accepts cluster point process models: the argument Y can now be an object of class 'kppm'. (Requested by Juanita Choo) Kest Now computes variance approximations (the Ripley and Lotwick-Silverman approximations to the variance of Kest(X) assuming complete spatial randomness) kppm thomas.estK matclust.estK lgcp.estK mincontrast These functions now accept "..." arguments and pass them to optim(). This allows the user to control the optimisation algorithm (in particular it is possible to constrain the parameter space). (Suggested by Lin Yiching) envelope New argument 'savepatterns' allows the simulated point patterns to be saved. Old argument 'saveall' has been renamed 'savefuns'. effectfun This function is now more robust against user errors and gives more explicit error messages. plot.kstest This function has been accelerated, by pre-computing some of the data in kstest(). plot.fv Improved axis labels and legend. "owin" class A window is now permitted to be empty. This is represented either as a polygonal window with an empty list of coordinates, or as a binary mask in which all pixel values are FALSE. Empty windows are now returned by various functions such as intersect.owin, complement.owin, solutionset, levelset, erosion.owin and opening.owin. simulate.kppm Has an extra argument 'seed' controlling the state of the random number generator. [<-.im Improved behaviour when the subset index is a point pattern. BUGS [1] blur The message "pixel values were NA, even after blurring" was sometimes given erroneously. Fixed.