[R] Correlations for spatio-temporal data ?

2011-12-10 Thread Jian Zhang
? Any suggestions? Thanks so much. --- Jian Zhang [[alternative HTML version deleted]] __ R-help@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

[R] Change the colour of lines in the xyplot?

2010-07-12 Thread Jian Zhang
I want to add the legend for my figure using "auto.key" in the xyplot function (library(lattice)). But I don't know how to change the colors of the lines in the "legend" part. I tried to add "col=1:8" in the "auto.key", but it changes the colors of the text of my Legend, not the lines. How can I

[R] One question about saving graph by using xyplot

2010-04-04 Thread Jian Zhang
6.5,height=4.5) plot(lat ~ long, data = quakes) graphics.off() } # I can open the pdf files. Hope you can help me. Thanks so much, --- Jian Zhang Department of Renewable Resources University of Alberta Edmonton, Alberta T6G 2H1, Canada Phone (office): 78

[R] Plot spatial location by using azimuth and distance?

2010-02-18 Thread Jian Zhang
Hey, I have one data like this: tree azimuth distance 1 312 200 2 322 201 3 304 173 4 294 154 5 313 95 The "azimuth" stands for the azimuth of tree from plot center, and the "distance" is the distance of tree from plot center. I wan

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

2007-12-11 Thread Jian Zhang
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.8259

[R] Why is the program too slow?

2007-12-03 Thread Jian Zhang
em? Thanks very much. Jian Zhang # The following function calculates Fisher's alpha from counts of individuals and species. # Note that this program assumes that the true value of alpha lies within the range 0.001¨C1 # (a likely assumption for local assemblages of organisms). # The funct