[R] Probably dumb question about lists

2015-01-14 Thread Raphael Päbst
Hello everybody! I feel very stupid right now but suspect it has something to do with tiredness. I am trying to drop the last couple of Elements from a list and this doesn't work as expected. My code looks something like this: del - deldir(x, y) tl - tile.list(del) plot(tl) Now, I only want to

Re: [R] Probably dumb question about lists

2015-01-14 Thread Raphael Päbst
Bert Gunter Genentech Nonclinical Biostatistics (650) 467-7374 Data is not information. Information is not knowledge. And knowledge is certainly not wisdom. Clifford Stoll On Wed, Jan 14, 2015 at 6:23 AM, Raphael Päbst raphael.pae...@gmail.com wrote: Hello everybody! I feel very stupid

[R] Manipulating Plots

2015-01-06 Thread Raphael Päbst
Hello, I have a somewhat complicated question and hope, someone can help me or that there is a solution at all for my problem. I am using R to plot the results of a Voronoi-Tesselation. I am however only interested in a small part of the plot, around the center. Is there a way to cut out the

Re: [R] Manipulating Plots

2015-01-06 Thread Raphael Päbst
...@usgs.gov wrote: It will be easier for folks to help you if you provide example code that produces a plot like the one you are dealing with. Jean On Tue, Jan 6, 2015 at 11:23 AM, Raphael Päbst raphael.pae...@gmail.com wrote: Hello, I have a somewhat complicated question and hope, someone can

Re: [R] Delaunay Graph, once again

2014-06-23 Thread Raphael Päbst
where there are no collinear triples. cheers, Rolf Turner On 21/06/14 03:17, Raphael Päbst wrote: Hello again, After playing around with my current problem for some time, I have once again returned to Delaunay Graphs and after banging my head against the problem for some time I fear that I

[R] Delaunay Graph, once again

2014-06-20 Thread Raphael Päbst
Hello again, After playing around with my current problem for some time, I have once again returned to Delaunay Graphs and after banging my head against the problem for some time I fear that I can't see the issue clearly anymore and want to ask for some outside comments, to maybe shake my thoughts

[R] .Internal(filledcontour()) - ancient history or just plain wrong?

2014-06-14 Thread Raphael Päbst
Hello everyone! In my ongoing odyssey through badly dokumented and sparingly commented R-code, I've come across something that baffles me. The following line of code .Internal(filledcontour(as.double(x), as.double(y), z, as.double(levels), col = col)) not surprisingly results in an error,

Re: [R] .Internal(filledcontour()) - ancient history or just plain wrong?

2014-06-14 Thread Raphael Päbst
and should (or should not) be used, but I'm always willing to understand more about the code I'm working with. Thanks again! Raphael On 6/14/14, Prof Brian Ripley rip...@stats.ox.ac.uk wrote: On 14/06/2014 10:04, Raphael Päbst wrote: Hello everyone! In my ongoing odyssey through badly dokumented

[R] Question about setdiff()

2014-06-02 Thread Raphael Päbst
Hello everyone, I have a question which is probably rooted in my lack of understanding when it comes to math. I just did the following: v - c(1:20) w - c(11:30) setdiff(v, w) and got: 1 2 3 4 5 6 7 8 9 10 Then I did the following: setdiff(w, v) and got, not surprisingly: 21 22 23 24 25 26 27

Re: [R] Question about setdiff()

2014-06-02 Thread Raphael Päbst
, Pascal On Mon, Jun 2, 2014 at 3:57 PM, Raphael Päbst raphael.pae...@gmail.com wrote: Hello everyone, I have a question which is probably rooted in my lack of understanding when it comes to math. I just did the following: v - c(1:20) w - c(11:30) setdiff(v, w) and got: 1 2 3 4 5 6 7

Re: [R] Voronoi-Diagrams in R

2014-05-23 Thread Raphael Päbst
this might be the case.) Try doing something like: newbm - bm[!duplicated(bm),] and then hit newbm with both deldir() and delaunayn(). cheers, Rolf Turner On 23/05/14 03:36, Raphael Päbst wrote: Hello again, I have found further depths of confusion concerning delaunay triangulations

Re: [R] Voronoi-Diagrams in R

2014-05-22 Thread Raphael Päbst
chaotic description of my problems and my faulty english and thanks for any help you can give! Raphael On 5/21/14, Rolf Turner r.tur...@auckland.ac.nz wrote: On 21/05/14 23:34, Raphael Päbst wrote: I believe you are right. A night of sleep has done wonders for my understanding of the problem

Re: [R] Voronoi-Diagrams in R

2014-05-21 Thread Raphael Päbst
(author of deldir) On 21/05/14 09:33, Raphael Päbst wrote: Thanks for the answer! I'll post a sample tomorrow, I have however found the following: triang.list() gives me the coordinates of the triangle's vertices, while delaunayn() gives me the indices of those coordinates. Thus it should

Re: [R] Voronoi-Diagrams in R

2014-05-20 Thread Raphael Päbst
: install.packages(deldir) library(deldir) ?deldir set.seed(16180) x - runif(20); y - runif(20); window - c(0,1,0,1) tess - deldir(x, y, rw = window) plot.deldir(tess, wpoints=real, wlines=tess) Cheers, Boris On 2014-05-14, at 8:18 AM, Raphael Päbst wrote: Hello everyone! I have

Re: [R] Voronoi-Diagrams in R

2014-05-20 Thread Raphael Päbst
results for the same data. How about you post a small input dataset and list the output that you need... B. On 2014-05-20, at 2:04 PM, Raphael Päbst wrote: Thank you very much, this looks promising. I have a follow-up question however, probably due to my thickness when it comes

[R] Voronoi-Diagrams in R

2014-05-14 Thread Raphael Päbst
Hello everyone! I have returned to R after a longish break and am currently working on a project where I need Delaunay-Triangulations and Voronoi-Diagrams. If I understood it correctly, the Geometry-Package only offers functions for the Delaunay-Triangulation at the moment. Is this correct and if