RELEASE NOTES

spatstat 1.57-0

30 October 2018

We thank Corey Anderson, Ryan Arellano, Hadrien Commenges, Ottmar Cronie, Tilman Davies, Maximilian Hesselbarth, Kassel Hingee, Tomas Lazauskas, Marie-Colette van Lieshout, Rasmus Waagepetersen and ‘daitakahashi’ for contributions.

OVERVIEW

NEW FUNCTIONS

SIGNIFICANT USER-VISIBLE CHANGES

BUG FIXES

  1. rthin
    If P was close to 1, the result was sometimes an empty point pattern
    when it should have been identical to X.
    [Spotted by Maximilian Hesselbarth.]
    Fixed.

  2. density.ppp
    Standard error calculations were incorrect
    when sigma was a single numeric value.
    The output was equal to ‘sqrt(sigma)’ times the correct answer.
    Fixed.

  3. density.ppp
    Result was incorrect for non-Gaussian kernels when
    at=”points” and leaveoneout=FALSE.
    Fixed.

  4. density.ppp
    Did not pass additional arguments “…” to a user-supplied
    kernel function, in some cases.
    Fixed.

  5. as.im.function, as.im.funxy
    If the function values were factor values and the window was
    not a rectangle, the result was an image with all pixel values NA.
    [Spotted by Corey Anderson.]
    Fixed.

  6. plot.funxy
    If the function values were factor values and the window was
    not a rectangle, the plot was empty.
    [Spotted by Corey Anderson.]
    Fixed.

  7. nnorient
    Crashed if the border correction did not retain any data points.
    [Spotted by Tomas Lazauskas.]
    Fixed.

  8. linim
    Crashed in some cases with a message about unitnames.
    Fixed.

  9. density.lpp
    Default value of ‘dx’ was sometimes incorrect.
    Fixed.

  10. rMatClust, rThomas, rCauchy, rVarGamma
    Issued a spurious warning about bandwidth selection
    when saveLambda=TRUE.
    Fixed.

  11. density.ppp
    Issued a spurious warning about bandwidth selection
    when ‘kernel’ was a user-supplied function.
    Fixed.

  12. clusterfield.function
    Issued a spurious warning about bandwidth selection.
    Fixed.

  13. relrisk.ppp
    Issued a spurious warning if the argument ‘case’ or ‘control’
    was given, for a bivariate point pattern.
    Fixed.

  14. superimpose.ppp
    If ‘W’ was a character string or function, the behaviour was
    not exactly as described in the help file.
    Fixed.

  15. plot.psp
    If the marks were factor values, the colour map was displayed upside down.
    Fixed.

  16. eval.fv
    If one of the ‘fv’ objects included ratio information (class ‘rat’)
    then this was erroneously retained, in some cases.
    Fixed.

  17. linearKcross
    Crashed (with a message about a missing value of ‘correction’)
    if there were no pairs of points to count.
    Fixed.

  18. envelope.lpp
    Crashed (randomly) when fix.n=TRUE and fix.marks=TRUE.
    Fixed.

Release notes are available in raw text format here.