search for: suppressingfire

Displaying 3 results from an estimated 3 matches for "suppressingfire".

2009 Mar 02
1
plotting on map
Hi list, I want to plot state Texas using map function. I wrote the following code to plot the grid boundary for Texas: ################################ library(maps) require("mapproj") longlatLimit<-c(-106.65, -93.53 , 25.93 , 36.49) par(plt=c(0,1,0,1),cex=1,cex.main=1) #Set plotting parameters map(projection="azequalarea",
2008 Aug 12
1
Quickly calculating the mean results over a collection of data sets?
...en want to plot certain values over (X, Z), ### so ultimately, I'm going to subset the data further. ### Code which gives me a list of W tables with mean Z values ### works, too. ####################### # End code snippet ####################### Thanks, mike -- Michael R. Head <burner at suppressingfire.org> http://www.cs.binghamton.edu/~mike/
2008 Aug 12
4
Frequency vector
I want to create a vecor with frequencies. I have tried this: a <- c(1,1,1,1,2,3,4,5,5) b <- table(a) print (b[1]) which results in: > print (b[1]) 1 4 The only thing I want is the 4. So this seems obvious: print (b[1,2]) but it does not work: Error in b[1, 2] : incorrect number of dimensions How do I get a vector or how do I refer to the "4" without getting the