RELEASE NOTES spatstat 1.9-3 21 June 2006 OVERVIEW Increased capabilities for handling polygonal windows (including K functions with Ripley's edge correction, and line segment clipping to polygons). Increased speed of various operations. NEW FUNCTIONS levels For a factor-valued image x, the factor levels can now be extracted by levels(x) and reassigned by levels(x) <- newvalue class for quadrat counts The return value from quadratcount() is now an object of class "quadratcount" for which there are special methods for print and plot. See help(quadratcount). class for count-based chi-squared tests The return value from quadrat.test() is now an object of class c("quadrattest", "htest"). There is a special plot method for class "quadrattest". The R system already has a print method for class "htest". IMPROVEMENTS/ENHANCEMENTS Kest, Kinhom, Kcross, Kdot, Kmulti, Kmulti.inhom, Kcross.inhom, Kdot.inhom, markcorr Ripley's isotropic edge correction has been implemented for polygonal windows. ppm Accelerated in case method="ho". qqplot.ppm Accelerated. envelope Accelerated, when simulation is based on a fitted point process model. profilepl Accelerated slightly. "[.psp" Line segments can now be clipped to a polygonal window rpoisline Now works for a polygonal window. complement.owin New argument 'frame'. plot.fv Now handles the case where 'ylab' is an expression. plot.owin Handling of colours and line widths improved. plot.splitppp Layout improved. Main heading now displayed. New argument 'main'. plot.psp New argument 'add'. plot.profilepl plot.minconfit Minor improvements to layout. persp.im Minor improvements in behaviour print.im Minor improvements in case of a factor image. allstats Now has "..." argument which can be used to control the functions Fest, Gest etc. data(chorley) Boundary polygon data have been corrected slightly. levels() The standard R function levels() can now also extract the levels of a factor-valued image. documentation Various help files improved. WARNINGS Kest, Kinhom, Kcross, Kdot, Kmulti, Kmulti.inhom, Kcross.inhom, Kdot.inhom, markcorr Default vector of r values changed. ppm Argument sequence altered (does not affect the most important arguments) BUGS [1] Gcross, Gdot, Gmulti, alltypes(.., fun="G") These functions would sometimes crash, with an obscure error report about unequal dimensions of two vectors. Fixed. [2] rpoisline Produced incorrect output in some cases (lines were clipped to the wrong window). Fixed.