RELEASE NOTES spatstat 1.12-4 18 December 2007 OVERVIEW Minor extensions, safety improvements, and bug fixes. IMPROVEMENTS/ENHANCEMENTS ppp Now checks for duplicated points, and issues a warning if any are found. envelope When constructing simultaneous critical envelopes, if the theoretical (null) value of the summary statistic must be estimated by simulation, envelope() now does this using a separate set of 'nsim2' simulations. This is required so that the test is strictly correct (i.e. so that its significance level is exact). plot.splitppp plot.listof These functions now have an argument 'mar.panel' to control spacing around the individual plot panels. superimpose Now accepts NULL arguments and interprets them as empty point patterns. nndist, pairdist The return values are no longer invisible. This was too confusing for many first-time users. rpoispp Performs more checking of the arguments, to avoid some common mistakes. applynbd For a marked point pattern, applynbd() now passes the mark of the current point, as well as its coordinates, to the user-supplied function 'fun'. help(plot.im) Help file improved. BUGS [1] eval.im, density.im These functions ignored the `unitname' of the input data and returned an image with unnamed units of length. Fixed. [2] as.im If f was a factor-valued function, as.im(f,W) was not a factor-valued image. Fixed. [3] summary.ppp, duplicated.ppp Stopped with the message "Error in result[sub] <- duplicated(yy[sub]) : NAs are not allowed in subscripted assignments" when x was a multitype point pattern where some of the possible types were absent in the pattern i.e. when unique(marks(x)) != levels(marks(x)). Fixed. [4] data(longleaf) unitname(longleaf) was incorrectly given as feet. The correct units are metres. (The help file was correct.) Fixed. [5] print.summary.owin Minor bugs fixed.