RELEASE NOTES

spatstat 1.52-0

10 August 2017

We thank Nicholas Read, Abdollah Jalilian, Suman Rakshit, Dominic Schuhmacher and Rasmus Waagepetersen for contributions.

OVERVIEW

NEW FUNCTIONS

SIGNIFICANT USER-VISIBLE CHANGES

BUG FIXES

  1. bw.pcf
    Results were totally incorrect due to a typo.
    [Spotted by Abdollah Jalilian and Rasmus Waagepetersen.]
    Fixed.

  2. predict.rho2hat
    Results were incorrect for a rho2hat object computed from a point pattern.
    Fixed.

  3. density.ppp
    If the smoothing bandwidth was very small (e.g.\ smaller than pixel width),
    results were inaccurate if the default resolution was used,
    and completely wrong if another resolution was specified.
    [Spotted by Dominic Schuhmacher.]
    Fixed.

  4. linearK, linearKinhom, linearpcf, linearpcfinhom, linearKcross,
    linearKdot, linearpcfcross, linearpcfdot, linearKcross.inhom,
    linearKdot.inhom, linearpcfcross.inhom, linearpcfdot.inhom
    Crashed if the network was disconnected.
    Fixed.

  5. crossdist.lpp
    Crashed if the network was disconnected.
    Fixed.

  6. countends
    Crashed if the network was disconnected.
    Fixed.

  7. model.images.ppm
    Crashed for models fitted using ‘covfunargs’.
    Fixed.

  8. model.matrix.ppm
    Crashed for models fitted using ‘covfunargs’,
    if argument ‘Q’ was given.
    Fixed.

  9. polynom
    Expansion of some polynomials caused an error message
    about ‘invalid model formula’.
    Fixed.

  10. plot.ppp
    The argument ‘type=”n”’ did not suppress plotting of the legend,
    for marked point patterns.
    Fixed.

  11. plot.psp
    Ignored ‘show.all’ when ‘add=TRUE’.
    Fixed.

  12. intensity.ppm
    Result had incorrect ‘names’ attribute in some cases.
    Fixed.

  13. marks<-.ppx
    The assignment marks(X) <- a, where ‘a’ is a single atomic value,
    caused an error if ‘X’ contained zero points.
    Fixed

  14. model.depends
    Crashed when applied to regression models fitted by ‘gam’,
    or point process models fitted by ‘ppm’ with ‘use.gam=TRUE’.
    Fixed.

  15. pool.fv
    Crashed sometimes, if the arguments did not have the same set of
    column names.
    Fixed.

  16. pool.rat
    Crashed with an error message from ‘fmt’
    if there were more than 20 objects to be pooled.
    Fixed.

  17. linearK
    The ‘theo’ column was missing if npoints(X) < 2 and correction=”Ang”.
    Fixed.

  18. model.matrix.ppm
    Result was malformed if the model was fitted with ‘use.gam=TRUE’.
    Fixed.

  19. effectfun
    Crashed if ‘covname’ was omitted,
    if the model was fitted with ‘use.gam=TRUE’.
    Fixed.

  20. nncross.lpp
    Result had incorrect format if Y was empty, in some cases.
    Fixed.

  21. linearKinhom
    Plot label for y axis was incorrect.
    [Spotted by Suman Rakshit.]
    Fixed.

  22. plot.solist
    If the entries were ‘linim’ objects, they were plotted using image()
    so arguments like ‘style=”w”’ were ignored.
    Fixed.

  23. as.ppp.data.frame
    Crashed if X was an object of class ‘tbl_df’ from the dplyr package.
    Fixed.

  24. plot.lpp
    Crashed if there were multiple columns of marks.
    Fixed.

Release notes are available in raw text format here.