Skip to content

Commit

Permalink
Submitted to CRAN
Browse files Browse the repository at this point in the history
  • Loading branch information
baddstats committed Oct 9, 2021
1 parent a26bcb0 commit 8a35218
Show file tree
Hide file tree
Showing 5 changed files with 46 additions and 12 deletions.
11 changes: 5 additions & 6 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: spatstat.geom
Version: 2.2-2.023
Date: 2021-10-03
Version: 2.3-0
Date: 2021-10-09
Title: Geometrical Functionality of the 'spatstat' Family
Authors@R: c(person("Adrian", "Baddeley",
role = c("aut", "cre"),
Expand All @@ -19,10 +19,9 @@ Authors@R: c(person("Adrian", "Baddeley",
person("Dominic", "Schuhmacher", role = "ctb"),
person("Rasmus", "Waagepetersen", role = "ctb"))
Maintainer: Adrian Baddeley <[email protected]>
Depends: R (>= 3.5.0), spatstat.data (>= 2.0), stats, graphics, grDevices, utils, methods
Imports: spatstat.utils (>= 2.2-0), deldir (>= 0.0-21), polyclip (>= 1.10-0)
Suggests: spatstat.core, spatstat.linnet, maptools (>= 0.9-9), spatial, fftwtools (>= 0.9-8), spatstat (>= 2.0)
Additional_repositories: https://spatstat.r-universe.dev
Depends: R (>= 3.5.0), spatstat.data (>= 2.0-0), stats, graphics, grDevices, utils, methods
Imports: spatstat.utils (>= 2.2-0), deldir (>= 1.0-2), polyclip (>= 1.10-0)
Suggests: spatstat.core, spatstat.linnet, maptools (>= 0.9-9), spatial, fftwtools (>= 0.9-8), spatstat (>= 2.0-0)
Description: Defines types of spatial data such as point patterns,
mainly in two dimensions, but also in higher dimensions.
Provides class support, and functions for geometrical operations
Expand Down
2 changes: 1 addition & 1 deletion NEWS
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
CHANGES IN spatstat.geom VERSION 2.2-2.023
CHANGES IN spatstat.geom VERSION 2.3-0

OVERVIEW

Expand Down
8 changes: 4 additions & 4 deletions inst/CITATION
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@ citEntry(entry = "Article",
volume = "55",
number = "11",
pages = "1--43",
url = "https://www.jstatsoft.org/v55/i11/",
doi = "10.18637/jss.v055.i11",

textVersion =
paste("Adrian Baddeley, Rolf Turner, Jorge Mateu, Andrew Bevan (2013).",
"Hybrids of Gibbs Point Process Models and Their Implementation.",
"Journal of Statistical Software, 55(11), 1-43.",
"URL https://www.jstatsoft.org/v55/i11/."),
"DOI: 10.18637/jss.v055.i11"),

header = "If you use hybrid models, please also cite:"
)
Expand All @@ -47,13 +47,13 @@ citEntry(entry = "Article",
volume = "12",
number = "6",
pages = "1--42",
url = "https://www.jstatsoft.org/v12/i06/",
doi = "10.18637/jss.v012.i06",

textVersion =
paste("Adrian Baddeley, Rolf Turner (2005).",
"spatstat: An R Package for Analyzing Spatial Point Patterns.",
"Journal of Statistical Software 12(6), 1-42.",
"URL https://www.jstatsoft.org/v12/i06/."),
"DOI: 10.18637/jss.v012.i06"),

header = "In survey articles, please cite the original paper on spatstat:"
)
Expand Down
2 changes: 1 addition & 1 deletion inst/doc/packagesizes.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ date version nhelpfiles nobjects ndatasets Rlines srclines
"2021-03-19" "2.0-1" 433 1158 0 33616 15104
"2021-04-15" "2.1-0" 433 1158 0 33674 15115
"2021-06-15" "2.2-0" 434 1159 0 33744 15115
"2021-10-03" "2.2-2.023" 440 1175 0 34553 15173
"2021-10-09" "2.3-0" 440 1175 0 34553 15173
35 changes: 35 additions & 0 deletions man/quadscheme.Rd
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,41 @@
using the package \code{deldir}; otherwise it is computed
approximately by discretisation.
}
\section{Error Messages}{
The following error messages need some explanation.
(See also the list of error messages in \code{\link[spatstat.core]{ppm.ppp}}).
\itemize{
\item{\dQuote{Some tiles with positive area do not contain any
quadrature points: relative error = X\%}}{
This is not important unless the relative error is large.
In the default rule for computing the
quadrature weights, space is divided into rectangular tiles,
and the number of quadrature points (data and dummy points) in
each tile is counted. It is possible for a tile with non-zero area
to contain no quadrature points; in this case, the quadrature
scheme will contribute a bias to the model-fitting procedure.
\bold{A small relative error (less than 2 percent) is not important.}
Relative errors of a few percent can occur because of the shape of
the window.
If the relative error is greater than about 5 percent, we
recommend trying different parameters for the quadrature scheme,
perhaps setting a larger value of \code{nd} to increase the number
of dummy points. A relative error greater than 10 percent
indicates a major problem with the input data. The quadrature
scheme should be inspected by plotting and printing it.
(The most likely cause of this problem is that the spatial coordinates
of the original data were not handled correctly, for example,
coordinates of the locations and the window boundary were incompatible.)
}
\item{\dQuote{Some tiles with zero area contain quadrature points}}{
This error message is rare, and has no consequences.
It is mainly of interest to
programmers. It occurs when the area of a
tile is calculated to be equal to zero, but a quadrature point
has been placed in the tile.
}
}
}
\references{
Baddeley, A. and Turner, R.
Practical maximum pseudolikelihood for spatial point patterns.
Expand Down

0 comments on commit 8a35218

Please sign in to comment.