RELEASE NOTES spatstat 1.10-0 18 October 2006 We thank Juha Heikkinen and Colin Beale for suggestions. This upgrade includes results of joint research with Jesper Moller. OVERVIEW The unit of length can now be specified in a dataset. Improvement to diagnostic plots. Subset operators have changed, but are backward-compatible. Substantial changes to the package's internal code, mostly invisible to the user. NEW FEATURE: units Spatial datasets now carry the name of the unit of length (e.g. feet, metres) used for recording the Cartesian coordinates. The unit name is printed or plotted where appropriate. This applies to the classes "ppp", "owin", "im" and "fv". The unit name can be inspected using the function units(x) and changed using units(x) <- value where x is an object of one of these classes. See help(units). NEW FUNCTIONS disc creates a circular window. runifdisc generates n random points in a disc. units Inspect or set the name of the unit of length in a spatial dataset. IMPROVEMENTS/ENHANCEMENTS diagnose.ppm lurking The error bounds in these plots are now computed using an exact asymptotic formula for the residual variance. The bounds are now `violin-shaped' instead of `funnel-shaped'. summary functions Kest, Gest, Fest etc These functions now handle units, so that plot(Kest(X)) will label the x-axis in the appropriate units. data(ants) data(bei) data(betacells) data(chorley) data(copper) data(finpines) data(nztrees) data(spruces) data(swedishpines) These datasets now incorporate a physical unit of length e.g. metres. [.ppp [<-.ppp [.psp The subset operators for point patterns and line patterns no longer distinguish between the roles of their first and second arguments. Thus x[i] is equivalent to x[,i] and x[i,j] is equivalent to (x[i])[j] Each argument i, j can now be either a subset index (in the usual R sense) or a window. The second argument is retained for backward compatibility only, and will eventually be removed. hist.im Improved display for logical-valued and factor-valued images. print.im summary.im print.owin summary.owin print.ppp Minor improvements to output. `INVISIBLE' CHANGES Internal code A very large number of changes to the internal workings of spatstat has been made, in preparation for a substantial upgrade of the package later. None of these changes is visible to the user. data(residualspaper) Minor adjustments to the data format and plotting code to conform to the changes mentioned above. classes "ppp", "owin", "im" The internal format of these objects has changed slightly but the package is compatible with both old and new formats. BUGS [1] density.ppp Crashed if the point pattern was empty. Fixed. [2] plot.splitppp Crashed with message "negative length vectors are not allowed" if the number of split components (number of types of points) was a prime number. Fixed. [3] update.ppm, fitted.ppm, predict.ppm, residuals.ppm, diagnose.ppm, qqplot.ppm Sometimes crashed with an obscure message that the ppm object was 'damaged'. Fixed, we hope.