similar to: Geometry delaunayn and deldir results, differing results from Octave due to decimal precision?

Displaying 20 results from an estimated 300 matches similar to: "Geometry delaunayn and deldir results, differing results from Octave due to decimal precision?"

2018 Jan 24
0
Geometry delaunayn and deldir results, differing results from Octave due to decimal precision?
"The question is, what is making the results for the R packages different from each other?" There are literally thousands of R packages, contributed independently by thousands of people. There should be no expectation of consistency or for that matter, "correctness", among them. Caveat emptor. Only within the base R distribution, maintained and mostly written by the R Core
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
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, +
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,
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
2006 Apr 06
1
rounding of voronoi vertices using deldir()
Hello list, I'm just getting started with using R - I have been trying over the past day or so to work out a method for generating voronoi polygons for PostGIS using SQL. I was able to put together a procedure which works relatively well, but is somewhat inefficient. Someone on the PostGIS list pointed me to the deldir() function in R, for which I can export a text file with x/y coordinates
2006 Aug 14
1
lasso for variable selection
For "importance" it's probably best to stick with absolute values of coefficients, instead of value of the penalty parameter for which the coefficients changed to non-zero. Friedman skipped a lot of details on his rule ensemble in that talk, due to time constraint. In his implementation he was using his own algorithm, PathSeeker, for which paper and software are available on his
2009 May 10
1
Spatstat
Hi all, I am trying to install Spatstat on OpenSUSE 11.1. install.packages("spatstat", dependencies = TRUE) fails on the basis of various compiler packages (full message below). I have gcc version 4.3.2, which should include gfortran and g++ - so I'm not sure what to do! Richard * Installing *source* package ?deldir? ... ** libs gfortran
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
2012 Jul 18
1
convert deldir$delsgs to a X3D IndexedTriangleSet
Anyone knows how to convert a deldir$delsgs to a X3D IndexedTriangleSet? Are there already any functions/packages? [[alternative HTML version deleted]]
2024 Mar 16
3
Problem when trying to install packages
Dear Rui; Many thanks for your reply. I have installed Rtools (rtools43-5958-5975) on my PC and I have R version 4.3.3 and 4.3.2 to install. Also I have installed Rstudio through Anaconda Navigator. But I do not know how to use Rtools for installing the R packages. I would be more than happy if you help me. Sincerely yours > Dear Rui; > I hope this email finds you well. I have a problem
2012 May 09
1
Paquete Spatstat
Hola a toda la comunidad R, el siguiente problema tengo para hacer funcionar el paquete Spatstat. Tengo instalado R version 2.15.0, y Ubuntu 12.04 los cuales ya lo actualice. El paquete (spatstat) esta instalado pero puntualmente es problema es asi: / > library("spatstat") Loading required package: mgcv Error : .onLoad failed in loadNamespace() for ''Matrix'',
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
2010 May 09
1
Plot polygon in 3D with rgl
Dear R-helpers, an rgl-ers in particular, what is the easiest way to plot a section of a plane in 3D, that is given by the xyz coordinates of the outline? Suppose I have a polygon - which I know for sure is a set of coordinates on the same plane. One method I found is to use surf.tri from the geometry package, and then plot the triangles with rgl.triangles. This method is not perfect though,
2008 Oct 29
1
How to set read.table variables to vectors?
The summary stats for the xin and yin variables below are correct. However, if I use plot(xin,yin), an exception is thrown saying that "object xin is not found." Also, it is apparent that I can't successfully replace the x and y vectors with values from xin and yin. The four plots on one panel are showing but the range of x and y is only [0,1], and therefore, it seems like an
2024 Mar 16
1
Problem when trying to install packages
Though Navigator may mess up any Rtools stuff because it handles the directory trees where packages and dependencies are located, does it not? If so, maybe just reinstall RStudio directly from its website to proceed. Just a guess obviously. Bert On Sat, Mar 16, 2024, 05:09 javad bayat <j.bayat194 at gmail.com> wrote: > Dear Rui; > Many thanks for your reply. I have installed Rtools
2024 Mar 16
1
Problem when trying to install packages
Dear all; I found a useful video on youtube that has explained how to install Rtools. I followed the instructions and the problem was solved. " Installing R version 4.0 + RTools 4.0 + RStudio For Data Science (#R #RTools #RStudio #DataScience) - YouTube <https://www.youtube.com/watch?v=h2IPWVXaUuU> " Sincerely On Sat, Mar 16, 2024 at 10:15?AM Bert Gunter <bgunter.4567 at
2003 Nov 21
3
plot map of areas
Hi all, Given a number of points (x,y) in a plane, I'd like to plot a map of polygons, so that 1) each polygon contains exactly one point 2) the polygon defines the area for which this specific point is closer than any other point. It's a bit like a map of areas "influenced" by that point, and it's obviously a matter of intersecting the perpendicular bisectors
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
2018 Feb 17
3
RV: no puedo cargar el paquete "agricolae"
Cada vez que intento cargar el paquete "agricolae" me da el siguiente mensaje: Error: package or namespace load failed for 'agricolae' in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]): there is no package called 'spData' He intentado todo actualizar los paquetes, volverlos a instalar pero no hay forma. Si sabeis la soluciĆ³n ?? Un saludo. Juan