[R] How to plot the grid figure using R?

From: Jian Zhang <jzhang1982_at_gmail.com>
Date: Wed, 12 Dec 2007 09:00:48 +0800


Now I have the forest plot data with x, y locations, and I measured the DBH for every indivicuals.

The data looks like that:

x=runif(100,0,100)
y=runif(100,0,100)
dbh=runif(100,1,100)

rdata=data.frame(x,y,dbh)
> rdata[1:5,]

           x y dbh

1 99.5354145  1.412844 34.10112
2  0.8259361 87.737036 39.12914
3  6.5678613 65.699032 22.55990
4 67.2987881 72.053877 45.83978
5  2.2491372 23.622898 68.77065

My question is: How can I plot the grid (25ĦÁ25,5ĦÁ5,...) figure by DBH? Can you introduce a simply method to do it by R language? I know that it can be done very easy by the software ArcGis.

ĦĦĦĦĦĦĦĦ
ĦĦĦĦĦĦĦĦ
ĦĦĦĦĦĦĦĦ
ĦĦĦĦĦĦĦĦ


Thanks very much.

        [[alternative HTML version deleted]]



R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Wed 12 Dec 2007 - 01:05:37 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 12 Dec 2007 - 10:30:18 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.