Displaying 20 results from an estimated 39 matches for "deldir".
2018 Jan 24
4
Geometry delaunayn and deldir results, differing results from Octave due to decimal precision?
The problem:
I would like to translate the Octave algorithm in griddata.m to R.
Within the griddata algorithm calls are made to the Delaunay function. For the R translation I have found delaunayn within the "geometry" package and also the deldir package.
Both do similar things but give slightly different results depending on the input.
The question is, what is making the results for the R packages different from each other?
And are those differences down to the decimal precision in the latter case of using 9 d.p.?
In the following example...
2018 Jan 24
0
Geometry delaunayn and deldir results, differing results from Octave due to decimal precision?
...at fugro.com> wrote:
> The problem:
> I would like to translate the Octave algorithm in griddata.m to R.
> Within the griddata algorithm calls are made to the Delaunay function. For
> the R translation I have found delaunayn within the "geometry" package and
> also the deldir package.
> Both do similar things but give slightly different results depending on
> the input.
> The question is, what is making the results for the R packages different
> from each other?
> And are those differences down to the decimal precision in the latter case
> of using 9 d...
2018 Jan 25
0
Geometry delaunayn and deldir results, differing results from Octave due to decimal precision?
...t;
>
>
> Regards,
>
>
>
> Kam
>
>
>
>
>
> *From:* William Dunlap [mailto:wdunlap at tibco.com]
> *Sent:* 24 January 2018 19:29
> *To:* Yuen, Kam <k.yuen at fugro.com>
> *Cc:* r-help at r-project.org
> *Subject:* Re: [R] Geometry delaunayn and deldir results, differing
> results from Octave due to decimal precision?
>
>
>
> All three results give the same collection of triangles. They
>
> don't all agree on whether the points in a triangle are in clockwise
>
> or counterclockwise order. If the orientation matter...
2006 Apr 06
1
rounding of voronoi vertices using deldir()
...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 from a PostGIS table, and write an SQL
script with insert statements containing PostGIS ewkt-compatible
geometries representing the voronoi polygons generated by deldir().
The script I'm using is below. I've added a...
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]]
2009 May 10
1
Spatstat
...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 -fpic -O2 -c acchk.f -o acchk.o
make: gfortran: Command not found
make: *** [acchk.o] Error 127
ERROR: compilation failed for package ?deldir?
* Removing ?/home/richard/R/i686-pc-linux-gnu-library/2.9/deldir?
* Installing *source* package ?spatst...
2012 Sep 24
0
Deldir() Thiessen Polygons Problem
Good evening to all.
I find myself trying to create some Thiessen Polygons, in order to finish a
meteorology research.
This is the script I found to create the Polygons:
*
*
*voronoipolygons <- function(x) {*
* require(deldir)*
* if (.hasSlot(x, 'coords')) {*
* crds <- x@coords *
* } else crds <- x*
* z <- deldir(crds[,1], crds[,2])*
* w <- tile.list(z)*
* polys <- vector(mode='list', length=length(w))*
* require(sp)*
* for (i in seq(along=polys)) {*
* pcrds <- cbind(w[[...
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
``delaunay'' --- not my choice of name --- rather than ``deldir''.)
Thanks to Kur...
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
2024 Mar 16
3
Problem when trying to install packages
...issue.
> Warm regards.
>
>
>> install.packages("openair", type = "source")Installing package into
?C:/R_Libs?
> (as ?lib? is unspecified)Warning in install.packages :
> dependencies ?lattice?, ?MASS? are not availablealso installing the
> dependencies ?deldir?, ?RcppEigen?, ?cli?, ?glue?, ?lifecycle?,
> ?pillar?, ?rlang?, ?tibble?, ?tidyselect?, ?vctrs?, ?png?, ?jpeg?,
> ?interp?, ?timechange?, ?maps?, ?nlme?, ?Matrix?, ?cluster?, ?dplyr?,
> ?hexbin?, ?latticeExtra?, ?lubridate?, ?mapproj?, ?mgcv?, ?purrr?
> trying URL '
https://cran.rst...
2012 May 09
1
Paquete Spatstat
...ails:
call: assignInNamespace(".M.classEnv", .M.classEnv, ns = "base")
error: locked binding of ''.M.classEnv'' cannot be changed
Error: package ''mgcv'' could not be loaded/
Ya carguƩ el paquete "mgcv" y tambien un paquete "deldir" que lei por
ahi que tambien se necesita pero no funciona. Espero que me puedan
ayudar, muchas gracias.
Dante Loto
[[alternative HTML version deleted]]
2024 Mar 16
1
Problem when trying to install packages
...> >
> >> install.packages("openair", type = "source")Installing package into
> ?C:/R_Libs?
> > (as ?lib? is unspecified)Warning in install.packages :
> > dependencies ?lattice?, ?MASS? are not availablealso installing the
> > dependencies ?deldir?, ?RcppEigen?, ?cli?, ?glue?, ?lifecycle?,
> > ?pillar?, ?rlang?, ?tibble?, ?tidyselect?, ?vctrs?, ?png?, ?jpeg?,
> > ?interp?, ?timechange?, ?maps?, ?nlme?, ?Matrix?, ?cluster?, ?dplyr?,
> > ?hexbin?, ?latticeExtra?, ?lubridate?, ?mapproj?, ?mgcv?, ?purrr?
> > trying URL ...
2024 Mar 16
1
Problem when trying to install packages
...>> install.packages("openair", type = "source")Installing package into
>> ?C:/R_Libs?
>> > (as ?lib? is unspecified)Warning in install.packages :
>> > dependencies ?lattice?, ?MASS? are not availablealso installing the
>> > dependencies ?deldir?, ?RcppEigen?, ?cli?, ?glue?, ?lifecycle?,
>> > ?pillar?, ?rlang?, ?tibble?, ?tidyselect?, ?vctrs?, ?png?, ?jpeg?,
>> > ?interp?, ?timechange?, ?maps?, ?nlme?, ?Matrix?, ?cluster?, ?dplyr?,
>> > ?hexbin?, ?latticeExtra?, ?lubridate?, ?mapproj?, ?mgcv?, ?purrr?
>> &g...
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, or even textbook.
TIA,
- Jan...
2017 Aug 19
0
My very first loop!! I failed. May I have some start-up aid?
...> 6 Ernie 27.09.2012 10:00 8.481 54.751
# Now this is where my loop is supposed to start. In this example I want
#to run the following functions 3 times. (In real life more often.) How
#do I do that?
library(adehabitatHR)
#> Loading required package: sp
#> Loading required package: deldir
#> deldir 0.1-14
#> Loading required package: ade4
#> Loading required package: adehabitatMA
#> Loading required package: adehabitatLT
#> Loading required package: CircStats
#> Loading required package: MASS
#> Loading required package: boot
library(rgdal)
#> rgdal: version:...
2011 Feb 24
1
weighted Voronoi diagrams
...elation 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 would not necessarily be at the
midpoint, but determined by the tree sizes. I have looked through the
options in tripack and deldir-packages, but editing the functions in
those packages is beyond my skills.
Thanks,
Tuomas
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,
+
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
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
2011 Nov 03
2
Problem with R CMD check and the inconsolata font business.
I have just installed R version 2.14.0 and tried to re-build and
re-check some
of the packages that I maintain.
I'm getting a warning (in the process of running R CMD check on my "deldir"
package):
> * checking PDF version of manual ... WARNING
> LaTeX errors when creating PDF version.
> This typically indicates Rd problems.
> LaTeX errors found:
> ! Font T1/fi4/m/n/10=ec-inconsolata at 10.0pt not loadable: Metric
> (TFM) file n
> ot found.
> <to b...