Displaying 2 results from an estimated 2 matches for "36x72".
Did you mean:
3672
2009 May 11
2
Plotting colors on a world map
Hi useR's
I have created a simple map of the world using the following code:
m <- map(xlim=c(-180,180), ylim=c(-90,90))
map.axes()
I then create a grid of dimension 36x72 using the code:
map.grid(m, nx=72, ny=36, labels=FALSE, col="black")
This gives 2592 grid cells. In a separate data set of dimension 36x72, I
have 2592 temperature values (some missing values are present) ranging from
-20 degrees F to 90 degrees F.
My question is, how can I create a...
2009 Apr 30
2
gridding values in a data frame
...4.49 29.83 2
and this goes on for a A LOT more records, until time=1200
I want to create a 5 degree by 5 degree grid of this data, with the value of
temperature in the appropriate grid cell. I want one grid for each time
value. For each time value, this works out to be a 36x72 grid with 2592
cells because the longitude spans -180 to 180 and latitude spans 90 to -90
and they would be in increments of 5 degrees. If there are no temperatures
available to be put into a grid cell, than that cell should get a missing
value, NA, put into it.
Also, could the gridded result for...