similar to: qhull in R?

Displaying 20 results from an estimated 900 matches similar to: "qhull in R?"

2004 Aug 31
0
N-dimensional delaunay tesselation & voronoi diagrams
Hi, I've been looking for functions that can do delaunay tesselation and generate voronoi cells. I came across deldir and tripack but both seem to be restricted to 2D points. Are there any packages that can do a tesselation in N dimensions? I know that Matlab and Mathematica use the qhull package to provide functions for this. Does anybody know of any R packages that do this (maybe by calling
2012 Jul 26
2
precision warning in delaunayn function
Dear R helpers, I try to use the 'delaunayn' function in the 'geometry' package for Delaunay triangulation in 2 dimensions. For the four following points, I get a warning message : > coord=matrix(ncol=2,byrow=TRUE,c(622633,7073452, + 621228,7073517, + 621879,7071762, +
2001 Apr 14
0
How to create polygons from voronoi objects in tripack?
Hello. I'd like to convert voronois object created by tripack to polygons to use them in GIS(Geographic Information Systems) software. I tried to create voronoi objects by using following code. > library(tripack) > x <- rnorm(10) > y <- rnorm(10) > plot(x,y) > v<-voronoi.mosaic(x,y) > plot(v) But from here, I could not create polygons. Of course, I know
2002 Feb 26
0
Package ``deldir'' available from CRAN.
A package for calculating and plotting the Delaunay triangulation and the Dirichlet/Voronoi tessellation, of a planar set of points, is now available from CRAN. The package is called ``deldir''. The package consists of a port from Splus to R of a library section which has been available for some time from the Splus software segment of statlib. (The Splus library section is called
2007 Aug 27
0
Monmonier algorithm
Hello, Here is a late answer, but an answer nonetheless to the question I asked almost one year ago on this list: > On Wed, 29 Mar 2006, Thibaut Jombart wrote: >> Hello list, <http://tolstoy.newcastle.edu.au/R/help/06/03/24318.html#24322qlink1> />> / />> does anyone know if Monmonier algorithm is available in R? I've checked / />> several spatial
2005 Nov 13
4
voronoi
Is there any pure r code to do delaunay or voronoi diagrams? Thanks! --------------------------------- [[alternative HTML version deleted]]
2007 Nov 27
1
voronoi/Delaunay/Dirichlet tessellation on sphere in R or S?
There's Renka's STRIPACK, and TRIPACK, respectively, ACM TOMS Algorithms 772 and 751, and there's the R package "deldir" which does the Delaunay for a plane, but does anyone have or know of the tessellation in R for a sphere? Also, is there a standard indexing scheme for Delaunay facets, and perhaps of edges in such facets? I'd expect that to be a publication reference,
2007 Jul 13
0
convhulln {geometry} output from .call
Hi All, convhulln {geometry} computes the convex hull of a set of points in n- dimensions via .call, returning the hull itself, and also "unavoidably generates a diagnostic report on an Rterm console." See the example below. I need to access the results of the diagnostic report (specifically the computed hull volume) from within R, but I cannot see how. I've looked at
2006 Jul 19
2
voronoi tessellations
Okay, been working with tripack, seems the most mature package for this. Got it to work well with their test data set - data(tritest). When i tried random numbers to explore further, i am getting some results that don't reconcile. example run this: library(tripack) y <- runif(100) x <- runif(100) vm <- voronoi.mosaic(x,y) plot(vm) par(new=T) plot(x,y,col='blue') when
2018 Jan 25
0
Geometry delaunayn and deldir results, differing results from Octave due to decimal precision?
I just looked at the data at the URL you posted and it looks like it consists of all the points in a rectangular grid. When you triangulate a rectangle it is arbitrary whether you use the SW-NE or the SE-NW diagonal and that looks like the only difference between the various algorithms. Bill Dunlap TIBCO Software wdunlap tibco.com On Thu, Jan 25, 2018 at 5:14 AM, Yuen, Kam <k.yuen at
2008 Feb 03
1
distances between points in R^3
Dear R helpers, I'm trying to write a numerical scheme for a boundary integral method to solve an electromagnetic problem. This requires the computation of the distance between points at the surface of an object (a sphere, in my example). Here is my code, > require(rgl) > r<-1 > size<-10 > theta<-seq(0,2*pi,length=size*2) > phi<-seq(0,pi,length=size) > pc
2003 Aug 14
1
Contouring irregular xyz data via TIN
Dear, I have XYZ data available in a MySQL database. I get it out, can plot the data with the plot() function, load it into a geoR datastructure. But what I actually would like to do is a simple contouring of the data based on a no Kriging interpolation such as TIN based. I know the first thing I shold do is interpolate a full matrix for the region I have my points for, then contour should
2011 Feb 24
1
weighted Voronoi diagrams
Dear R-users, Does anyone know how to do weighted Voronoi diagrams (Dirichlet tesselation) in R? To be more specific, I have a set of coordinates for tree locations on a plot, and I'm looking for a way to do the tesselation so that the polygon size for each tree depends on the size of the subject tree, and the size of its neighbors. So, the location of the bisection between two trees
2001 Dec 10
1
high dimensional convex hull
Does anyone know of a R package that will determine the convex hull of a high-dimensional dataset (say 4-10 dimensions). I know chull works for 2D data. I'm neophyte to R and convex hulls so please keep it simple. Many thanks Ben -- Ben Stapley. Biomolecular Sciences, UMIST, PO Box 88, Manchester M60 1QD. Tel 0161 200 5818 Fax 0161 236 0409
1998 Dec 04
1
contour labelling [was "Re: image ()"]
> From: Bill Simpson <wsimpson at uwinnipeg.ca> > Subject: Re: contour labelling [was "Re: [R] image ()"] > MIME-Version: 1.0 > > > We may be missing the crux here: was it to have a means of > > displaying such surfaces? > > Yes, bang on. I knew of the > existence of the Delaunay code in the R libraries. Yes I want > to make a picture that
2012 May 11
1
Replacements for stdout and stderr guaranteed to be open in all versions of R
I maintain the geometry package, which integrates the Qhull C library (http://qhull.org) into R. The Qhull function I hook into requires an open FILE handle as one of its arguments. I had set this file handle to stdout, but now R check NOTEs the presence of stdout, and the CRAN maintainers asked me to get rid of these NOTEs. Including the following defines means the checks are passed on CRAN:
2018 Jan 10
0
Problem with dbFD function in FD library
Dear all, I have a question about FD package. I?m trying to calculate functional diversity indices using insect data. My trait data includes dispersal ability (0, 0.5, 1), body size (continuous) and five feeding guilds coded as in percentages (for example; 0,0,0.5,0.5,0) since some of the species can have two different feeding guilds. However, the package only calculates when I run ?calc.Frich=
2007 May 09
1
voronoi.mosaic chokes?
Hi all, I am running R 2.5.0 under Windows XP Media Center Edition. Here's a problem that's been stumping me for a few days now, and I can't find anything useful in the archives. I am using voronoi.mosaic (tripack package) to create proximity polygons for a study of vegetation competition and dynamics. The points lists are read in from a file for each plot, then 8 duplicates
2010 Dec 16
0
Convert tileplot's trellis to shapefile/ Add values to voronoi polygon
I would like to create a voronoi map that can show me point values like the ones in colum street_cle. I was able to do it in tileplot(latticeExtra) like the ones attached, and with the following commands: xy=list(x=x2$X, y=x2$Y) xy$street_cle <- x2$street_cle tileplot(street_cle~ x*y, xy) But this is a trellis. Is it possible to be converted to a shapefile or image so I can plot it using
2011 Oct 12
1
reasonable theory?
Before coding this in C, I wanted to test the idea out in R. But I'm unsure if the theory is well-founded. I have a (user-supplied) black-box function which takes R^n -> R^3 and a defined domain for each of the input reals. I want to send some samples through the box to determine an approximation of the convex hull of the function's range. (I'll use the library from