From 73b25efaecc9c20c52185e1dbba5c1783df11e35 Mon Sep 17 00:00:00 2001 From: Philippe Verley <philippe.verley@ird.fr> Date: Mon, 15 Mar 2021 13:59:49 +0000 Subject: [PATCH] Fixed triangulate.Rd faulty example and updated ADS version to 1.5-5 --- DESCRIPTION | 8 +++----- man/triangulate.Rd | 4 ++-- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index 242a241..a19e33d 100755 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,13 +1,13 @@ 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 diff --git a/man/triangulate.Rd b/man/triangulate.Rd index d15e2fd..0324979 100755 --- a/man/triangulate.Rd +++ b/man/triangulate.Rd @@ -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) -- GitLab