Re: [R] Formatting question for separate polygons

2010-02-12 Thread Tim Clark
Thanks Uwe! And Peter for the correction. I would never have come up with that! Tim Tim Clark Department of Zoology University of Hawaii --- On Fri, 2/12/10, Uwe Ligges wrote: > From: Uwe Ligges > Subject: Re: [R] Formatting question for separate polygons > To: "Peter

Re: [R] Formatting question for separate polygons

2010-02-12 Thread Uwe Ligges
On 12.02.2010 12:54, Peter Ehlers wrote: Nice, Uwe. Small correction: make that nrow=4: x1 <- as.numeric(rbind(matrix(rep(x, each=2), nrow=4), NA)) Whoops, thanks! Uwe -Peter Ehlers Uwe Ligges wrote: On 11.02.2010 22:38, Tim Clark wrote: Dear List, I am trying to plot several sep

Re: [R] Formatting question for separate polygons

2010-02-12 Thread Peter Ehlers
Nice, Uwe. Small correction: make that nrow=4: x1 <- as.numeric(rbind(matrix(rep(x, each=2), nrow=4), NA)) -Peter Ehlers Uwe Ligges wrote: On 11.02.2010 22:38, Tim Clark wrote: Dear List, I am trying to plot several separate polygons on a graph. I have figured out how to do it by manua

Re: [R] Formatting question for separate polygons

2010-02-12 Thread Uwe Ligges
On 11.02.2010 22:38, Tim Clark wrote: Dear List, I am trying to plot several separate polygons on a graph. I have figured out how to do it by manually, but have too much data to use such a tedious method. I would appreciate your help. I have made a simple example to illustrate the proble