NEWS
spatstat.random 3.3-1.002
OVERVIEW
- Tweaks to documentation.
- Minor improvements.
SIGNIFICANT USER-VISIBLE CHANGES
- rSSI
New argument 'verbose' specifies whether to
print progress reports when nsim > 1.
spatstat.random 3.3-1 (2024-07-15)
OVERVIEW
- Internal changes to satisfy CRAN package checker.
spatstat.random 3.3-0
OVERVIEW
- We thank Abdollah Jalilian for contributions.
- Now depends on 'spatstat.univar'
- Some functions have been removed.
- Bug fix in Gaussian random field simulation.
PACKAGE DEPENDENCE
- spatstat.random now depends on the new package 'spatstat.univar'
SIGNIFICANT USER-VISIBLE CHANGES
- indefinteg
This function has been moved to the new package 'spatstat.univar'.
BUG FIXES
- rLGCP
The underlying simulation of the random field was incorrect
if the pixel raster dimensions were not equal (i.e. number of columns
not equal to number of rows).
[Spotted by Abdollah Jalilian.]
Fixed.
spatstat.random 3.2-3 (2024-02-29)
OVERVIEW
- Slightly accelerated.
- Minor bug fixes.
SIGNIFICANT USER-VISIBLE CHANGES
- spatstat.random
Some computations are slightly accelerated.
BUG FIXES
- rLGCP
In certain special cases, an error message about incompatible images
was issued, and in the resulting point pattern object X,
the driving intensity image attr(X,"Lambda") had incorrect dimensions
or spatial coordinates.
Fixed.
spatstat.random 3.2-2 (2023-11-29)
OVERVIEW
- Internal changes to appease the package checker.
spatstat.random 3.2-1 (2023-10-21)
OVERVIEW
- Minor changes to appease the package checker.
spatstat.random 3.2-0
OVERVIEW
- We thank Tilman Davies and David Bryant for contributions.
- spatstat.random no longer uses 'maptools' or 'RandomFields'.
- Minor internal improvements and bug fixes.
SIGNIFICANT USER-VISIBLE CHANGES
- Package dependence
spatstat.random no longer suggests the packages
'maptools', 'RandomFields' and 'RandomFieldsUtils'.
- rLGCP
This function has been re-implemented without using 'RandomFields'.
The implementation currently supports only the 'exponential', 'gaussian',
'stable', 'gencauchy' and 'matern' covariance functions.
BUG FIXES
- rpoislinetess
Results were incorrect unless the window was centred at the origin.
Fixed.
spatstat.random 3.1-6 (2023-09-09)
OVERVIEW
- Conditional simulation for Matern cluster process.
- Improvements to runifpoint and rpoispp.
SIGNIFICANT USER-VISIBLE CHANGES
- rMatClust
Can now perform conditional simulation given a fixed number of points.
New arguments n.cond and w.cond.
- runifpoint
Argument 'win' can be a tessellation. The specified number of points n
will be randomly generated in each tile of the tessellation.
- rpoispp
New argument 'forcewin'.
spatstat.random 3.1-5 (2023-05-11)
OVERVIEW
SIGNIFICANT USER-VISIBLE CHANGES
- rLGCP
Now recognises argument 'rule.eps' passed to 'as.mask'.
spatstat.random 3.1-4 (2023-03-13)
OVERVIEW
- spatstat.random now suggests the package 'gsl'.
- Generate truncated Poisson random variables.
- reciprocal moment of Poisson variable conditioned to be positive.
- Internal improvements.
NEW FUNCTIONS
- rpoisnonzero
Generate Poisson random variables conditioned to be positive.
- rpoistrunc
Generate 'truncated' Poisson random variables,
conditioned to be greater than or equal to a specified minimum value.
- recipEnzpois
Calculate the first reciprocal moment of nonzero Poisson variable
SIGNIFICANT USER-VISIBLE CHANGES
- rVarGamma, rclusterBKBC
Suppressed some irrelevant warnings about numerical error.
spatstat.random 3.1-3 (2023-01-25)
OVERVIEW
- We thank Bethany Macdonald for contributions.
- Bug fixes and internal improvements.
spatstat.random 3.1-2 (2023-01-24)
OVERVIEW
- We thank Ya-Mei Chang for substantial contributions.
- Faster algorithms for simulating cluster processes.
- Bug fixes and internal improvements.
NEW FUNCTIONS
- rclusterBKBC
(Advanced use) Internal algorithm to simulate any Neyman-Scott cluster
process using either the naive, Brix-Kendall, or Baddeley-Chang algorithm.
SIGNIFICANT USER-VISIBLE CHANGES
- rCauchy, rThomas, rMatClust, rVarGamma
These algorithms have been accelerated by several orders of magnitude
in the case where the cluster radius is large.
- rCauchy, rThomas, rMatClust, rVarGamma
These functions now offer a choice of simulation algorithms.
- rCauchy, rThomas, rMatClust, rVarGamma, rNeymanScott
Formal arguments have changed.
- rNeymanScott
Argument 'lmax' has been replaced by 'kappamax'.
New argument 'mumax'.
- rPoissonCluster
Argument 'lmax' has been replaced by 'kappamax'.
BUG FIXES
- rThomas, rMatClust, rCauchy, rVarGamma
If the model was very close to a Poisson process,
and if saveLambda=TRUE was selected,
the attribute "Lambda" was incorrectly labelled "lambda".
Fixed.
- clusterradius
Crashed sometimes with message about infinite values of the integrand.
Fixed.
spatstat.random 3.1-0
OVERVIEW
spatstat.random 3.0-2
OVERVIEW
NEW FUNCTIONS
- dpakes, ppakes, qpakes, rpakes
Density, cumulative probability, quantiles, and random generator
for the Pakes distribution.
spatstat.random 3.0-1 (2022-11-03)
OVERVIEW
- Tweaks to placate package checker.
spatstat.random 3.0-0 (2022-11-01)
OVERVIEW
- We thank Liu Yijia for contributions.
- spatstat.random now suggests the new packages 'spatstat.explore'
and 'spatstat.model' rather than the old 'spatstat.core'.
- Bug fixes and internal improvements.
SIGNIFICANT USER-VISIBLE CHANGES
- Package dependence
'spatstat.random' now suggests the new packages 'spatstat.explore'
and 'spatstat.model' rather than the old 'spatstat.core'.
- random generators
Random generators now accept 'nsim=0', and return a zero-length list.
- random generators
Code in the case 'nsim > 1' has been accelerated.
BUG FIXES
- rmpoint
Crashed if 'f' was a pixel image.
[Spotted by Liu Yijia.]
Fixed.
spatstat.random 2.2-0 (2022-03-30)
OVERVIEW
- Bug fixes and internal improvements.
BUG FIXES
- Internal code
Fix a bug in internal code that causes bug in spatstat.core::kppm
spatstat.random 2.1-0 (2022-02-12)
OVERVIEW
- Indefinite integral.
- Internal repairs, code acceleration, and improvements.
NEW FUNCTIONS
- indefinteg
Numerically computes the indefinite integral of a function.
spatstat.random 2.0-0 (2022-01-06)
OVERVIEW
- We thank Dominic Schuhmacher for contributions.
- This is a new package containing code removed from spatstat.core
- Bug fixes in rmh visual debugger.
- Minor improvements
SIGNIFICANT USER-VISIBLE CHANGES
- spatstat.random
The 'spatstat.core' package has been divided into two packages,
called 'spatstat.random' and 'spatstat.core'.
The new 'spatstat.random' package consists of functions for
generating random point patterns, and other random spatial data,
that were originally in 'spatstat.core'.
- rMatClust, rThomas, rCauchy, rVarGamma
New argument 'nonempty'
BUG FIXES
- rmh
The visual debugger did not display accepted births and deaths correctly.
[Spotted by Dominic Schuhmacher.]
Fixed.
- rmh
The visual debugger exited prematurely sometimes,
if the current state was the empty point pattern.
[Spotted by Dominic Schuhmacher.]
Fixed.