Skip to content
Snippets Groups Projects
Commit 73b25efa authored by philippe.verley_ird.fr's avatar philippe.verley_ird.fr
Browse files

Fixed triangulate.Rd faulty example and updated ADS version to 1.5-5

parent e40645ff
No related branches found
No related tags found
No related merge requests found
Package: ads
Type: Package
Title: Spatial Point Patterns Analysis
Version: 1.5-4
Date: 2020-09-11
Version: 1.5-5
Date: 2021-03-15
Authors@R: c(person("Raphael", "Pelissier", role="aut", email="raphael.pelissier@ird.fr"),
person("Francois", "Goreau", role="aut"),
person("Philippe", "Verley", role=c("ctb", "cre"), email="philippe.verley@ird.fr"))
Author: Raphael Pelissier [aut], Francois Goreau [aut], Philippe Verley [ctb, cre]
Maintainer: Raphael Pelissier <Raphael.Pelissier@ird.fr>
Maintainer: Philippe Verley <philippe.verley@ird.fr>
Imports: ade4, spatstat.geom
Description: Perform first- and second-order multi-scale analyses derived from Ripley K-function (Ripley B. D. (1977) <doi:10.1111/j.2517-6161.1977.tb01615.x>), for univariate,
multivariate and marked mapped data in rectangular, circular or irregular shaped sampling windows, with tests of
......@@ -16,6 +16,4 @@ Depends: R (>= 3.5.0)
License: GPL-2
NeedsCompilation: yes
Repository: CRAN
Date/Publication: 2020-09-11 12:20:07 UTC
Packaged: 2020-09-11 11:19:29 UTC; rpelissier
RoxygenNote: 7.1.1
......@@ -27,7 +27,7 @@ triangulate(outer.poly, holes)
is \eqn{(n-2)+2t}, with \eqn{n<200} in this version of the program.
}
\references{
Goreaud, F. and Pélissier, R. 1999. On explicit formula of edge effect correction for Ripley's \emph{K}-function. \emph{Journal of Vegetation Science}, 10:433-438.\cr\cr
Goreaud, F. and P?lissier, R. 1999. On explicit formula of edge effect correction for Ripley's \emph{K}-function. \emph{Journal of Vegetation Science}, 10:433-438.\cr\cr
Narkhede, A. & Manocha, D. 1995. Fast polygon triangulation based on Seidel's algoritm. Pp 394-397 In A.W. Paeth (Ed.)
\emph{Graphics Gems V}. Academic Press. \url{http://www.cs.unc.edu/~dm/CODE/GEM/chapter.html}.
}
......@@ -52,7 +52,7 @@ is \eqn{(n-2)+2t}, with \eqn{n<200} in this version of the program.
plot(swin(c(-10,-10,120,100), tri2))}
\dontrun{the same with narrower outer polygon}
\donttest{tri3 <- lapply(BP$poly2,triangulate)
\donttest{tri3 <- lapply(BP$poly2[2:4],triangulate)
tri3<-do.call(rbind,tri3)
xr<-range(tri3$ax,tri3$bx,tri3$cx)
yr<-range(tri3$ay,tri3$by,tri3$cy)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment