NEWS
spatstat.utils 3.2-3
OVERVIEW
spatstat.utils 3.2-2 (2026-03-10)
OVERVIEW
NEW FUNCTIONS
- capitalise
Make the first letter of each word a capital letter.
spatstat.utils 3.2-1 (2026-01-10)
OVERVIEW
- Lagged difference of long vector.
NEW FUNCTIONS
- difflong
Calculates diff() for a long vector.
spatstat.utils 3.2-0 (2025-09-20)
OVERVIEW
- spatstatLocator now supports ‘snap’ behaviour (rounding).
- Minor improvements.
SIGNIFICANT USER-VISIBLE CHANGES
- spatstatLocator
Now supports rounding of the location to the nearest point on a grid.
New arguments 'snap.step' and 'snap.origin' control the grid spacing
and grid position, respectively.
- revcumsum
If x is logical, the result is now an integer vector.
spatstat.utils 3.1-5 (2025-07-17)
OVERVIEW
spatstat.utils 3.1-4 (2025-05-15)
OVERVIEW
- Extension to 'fastFindInterval'.
- Internal improvements.
SIGNIFICANT USER-VISIBLE CHANGES
- fastFindInterval
New argument 'left.open' controls whether intervals
are left-open, right-closed or left-closed, right-open.
spatstat.utils 3.1-3 (2025-03-15)
OVERVIEW
- Recognise powers of an integer.
NEW FUNCTIONS
- is.square, is.cube, is.power
Recognise whether a given integer is a square number, a cube,
or a power of another integer.
SIGNIFICANT USER-VISIBLE CHANGES
- primefactors
Computation for large numbers improved.
spatstat.utils 3.1-2 (2025-01-08)
OVERVIEW
spatstat.utils 3.1-1 (2024-11-03)
OVERVIEW
spatstat.utils 3.1-0 (2024-08-17)
OVERVIEW
- Efficiency improvement for prime factorisation.
- spatstat.utils now requires R 3.5.0 or later.
- Bug fix
SIGNIFICANT USER-VISIBLE CHANGES
- primefactors, divisors, is.prime
Computation for large numbers accelerated.
BUG FIXES
- xysegPcircle
Interpreted its arguments incorrectly,
and incorrectly gave the same result as 'xysegXcircle'.
Fixed.
spatstat.utils 3.0-5 (2024-06-17)
OVERVIEW
spatstat.utils 3.0-4 (2023-10-24)
OVERVIEW
- Improved error messages.
- Bug fix.
- Minor changes to package information.
BUG FIXES
- primefactors
The default method (method = "C") did not handle numbers
greater than the largest integer (n > .Machine$integer.max).
Fixed.
spatstat.utils 3.0-3 (2023-05-09)
OVERVIEW
SIGNIFICANT USER-VISIBLE CHANGES
- asNumericMatrix
Argument x can be a list, provided it can be converted to a data frame.
- articlebeforenumber
Now handles non-integer values correctly.
- articlebeforenumber
New argument 'teenhundreds'.
spatstat.utils 3.0-2 (2023-03-11)
OVERVIEW
- Modest improvements in speed.
- Minor changes to package information.
SIGNIFICANT USER-VISIBLE CHANGES
- check.named.vector, check.named.list
New argument 'xtitle'
spatstat.utils 3.0-1 (2022-10-19)
OVERVIEW
- Minor changes to package information.
SIGNIFICANT USER-VISIBLE CHANGES
- Package dependence
The suggested package 'spatstat.model' is available from
spatstat.r-universe.dev until it is released on CRAN.
spatstat.utils 3.0-0
OVERVIEW
- Minor changes to package information.
- Harmonic mean.
- Bug fixes
NEW FUNCTIONS
- harmonicmean, harmonicsum
The harmonic mean of a set of numbers, calculated robustly.
SIGNIFICANT USER-VISIBLE CHANGES
- Package dependence
'spatstat.utils' now suggests the new package 'spatstat.model'
instead of the old 'spatstat.core'.
BUG FIXES
- do.call.matched
Crashed if 'matchfirst=TRUE' and 'names(arglist) = NULL'.
Fixed.
spatstat.utils 2.3-1 (2022-05-06)
OVERVIEW
- Minor improvements and bug fixes.
- Some code now runs faster.
- More of the existing functions are documented.
NEW FUNCTIONS
- fastFindInterval
Faster alternative to 'findInterval' for equally-spaced intervals.
- geomseq
Make a geometric sequence.
- "%orifnull%"
Specify a value with a default.
SIGNIFICANT USER-VISIBLE CHANGES
- check.1.real, check.1.integer, check.1.string
New argument 'warn'.
spatstat.utils 2.3-0 (2021-12-12)
OVERVIEW
- Minor improvements and bug fixes.
- Some code accelerated.
NEW FUNCTIONS
- which.min.fair, which.max.fair
Find the location of the minimum or maximum,
and if there are multiple minima or maxima,
choose one of them at random.
BUG FIXES
- tapplysum
Crashed if do.names=TRUE when 'flist' contained only one factor.
Fixed.
spatstat.utils 2.2-0 (2021-06-14)
OVERVIEW
- New function to compute breakpoints for a cut operation.
- Internal tweaks to improve efficiency.
NEW FUNCTIONS
- exactCutBreaks
Compute the exact numerical values of the breakpoints
used in cut.default.
spatstat.utils 2.1-0 (2021-03-15)
OVERVIEW
- New functions providing NA and zero values, and empty vectors,
of the appropriate type.
NEW FUNCTIONS
- RelevantNA
Return a missing value of the appropriate type.
- RelevantEmpty
Return a zero-length vector of the appropriate type.
- RelevantZero
Return a value equivalent to 0, of the appropriate type.
spatstat.utils 2.0-1
OVERVIEW
spatstat.utils 2.0-0 (2021-01-24)
OVERVIEW
- Updated to new spatstat family.
SIGNIFICANT USER-VISIBLE CHANGES
- package dependence
spatstat.utils now suggests the package spatstat.core
which is part of the new spatstat family.
spatstat.utils 1.20-0
OVERVIEW
- Computation is slightly accelerated.
SIGNIFICANT USER-VISIBLE CHANGES
- general
Overall speed of computation is slightly increased.
spatstat.utils 1.19-0
OVERVIEW
spatstat.utils 1.18-0
OVERVIEW
SIGNIFICANT USER-VISIBLE CHANGES
- do.call.matched, do.call.without
New argument 'envir' determines the environment in which
the call will be evaluated.
spatstat.utils 1.17-0 (2020-02-07)
OVERVIEW
- Bug fixes in internal code.
spatstat.utils 1.16-0
OVERVIEW
- Bug fixes in internal code.
spatstat.utils 1.15-0 (2019-12-02)
OVERVIEW
- Added more internal code.
spatstat.utils 1.14-1
OVERVIEW
- Minor administrative changes.
spatstat.utils 1.14-0
NEW FUNCTIONS
- taperoff
Utility for tapering values smoothly to zero.
spatstat.utils 1.13-0 (2018-10-31)
OVERVIEW
spatstat.utils 1.12-0 (2018-10-29)
NEW FUNCTIONS
- percentage
Programmer's utility to convert a number to a percentage.
SIGNIFICANT USER-VISIBLE CHANGES
- queueSpatstatLocator
Handles any data acceptable to xy.coords()
spatstat.utils 1.11-0
NEW FUNCTIONS
- queueSpatstatLocator
Add (x,y) coordinate pairs to a queue
that can be accessed by 'spatstatLocator'.
SIGNIFICANT USER-VISIBLE CHANGES
- spatstatLocator
Now works in non-interactive sessions,
returning previously-queued coordinates,
for use in software testing.
spatstat.utils 1.10-0 (2018-10-01)
SIGNIFICANT USER-VISIBLE CHANGES
- NEWS file
spatstat.utils now has its own NEWS file.
spatstat.utils 1.9-5
SIGNIFICANT USER-VISIBLE CHANGES
- None.
Minor internal improvements only.
spatstat.utils 1.9-4
BUG FIXES
- orderwhich
Crashed if decreasing=TRUE.
Fixed.
spatstat.utils 1.9-3
NEW FUNCTIONS
- sortunique
A faster version of sort(unique(x)) for numeric x.
spatstat.utils 1.9-2
SIGNIFICANT USER-VISIBLE CHANGES
spatstat.utils 1.9-1
SIGNIFICANT USER-VISIBLE CHANGES
spatstat.utils 1.9-0 (2018-07-28)
NEW FUNCTIONS
- check.anyvector
Utility to check for a vector or factor with correct length.
SIGNIFICANT USER-VISIBLE CHANGES
- tapplysum
Argument 'x' can contain complex numbers.
spatstat.utils 1.8-1
SIGNIFICANT USER-VISIBLE CHANGES
- slight increase in speed.
spatstat.utils 1.8-0 (2017-11-20)
SIGNIFICANT USER-VISIBLE CHANGES
- tapplysum
Now works in dimension 1
(i.e. when 'flist' is a list containing a single factor).
BUG FIXES
- graphics code
'zlim' was not recognised as a graphics parameter in some cases.
Fixed.
spatstat.utils 1.7-1 (2017-09-23)
BUG FIXES
- graphics code
'main' was not recognised as a graphics parameter in some cases.
Fixed.
spatstat.utils 1.7-0 (2017-08-09)
SIGNIFICANT USER-VISIBLE CHANGES
- fastFindInterval
Labels are shorter (generated when labels=TRUE).
New argument 'dig.lab' controls their length.
BUG FIXES
- expand.polynom
Result was syntactically incorrect in some cases.
Fixed.
spatstat.utils 1.6-0 (2017-05-06)
NEW FUNCTIONS
- "lhs.of.formula<-", "rhs.of.formula<-"
Assignment operators for formulae.
SIGNIFICANT USER-VISIBLE CHANGES
- matchIntegerDataFrames
New argument 'sort'.
BUG FIXES
- verbalogic
Returned prematurely in some cases.
Fixed.
spatstat.utils 1.5-1
NEW FUNCTIONS
- matchIntegerDataFrames
A fast function for finding identical rows in two data frames of integers.
spatstat.utils 1.5-0
SIGNIFICANT USER-VISIBLE CHANGES
- Internal changes to satisfy CRAN requirements.
spatstat.utils 1.4-1 (2017-03-21)
SIGNIFICANT USER-VISIBLE CHANGES
- Internal changes to satisfy CRAN requirements.
spatstat.utils 1.4-0
SIGNIFICANT USER-VISIBLE CHANGES
- Internal code now runs in the Datacamp environment.