search for: popdens

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

2008 Jul 15
3
Melt (reshape) question
...grid of 720 columns by 360 rows of global population density values, and hope to convert this to column format using the 'melt' command in the 'reshape' package. I'm not receiving any errors as such, but when the code has finished running, my output looks like this: > head(PopDens.long) Latitude Longitude PopDensity 1 -84.75 V1 0 2 -84.25 V1 0 3 -83.75 V1 0 4 -83.25 V1 0 5 -82.75 V1 0 6 -82.25 V1 0 > tail(PopDens.long) Latitude Longitude PopDensity 232658...
2006 Dec 14
5
Nicely formatted tables
If I use latex(summary(X)) where X is a data frame with four variables I get something like Rainfall Education Popden Nonwhite Min. :10.00 Min. : 9.00 Min. :1441 Min. : 0.80 1st Qu.:32.75 1st Qu.:10.40 1st Qu.:3104 1st Qu.: 4.95 Median :38.00 Median :11.05 Median :3567 Median :10.40 Mean :37.37 Mean :10.97 Mean :3866
2008 Jul 17
4
Matching Up Values
Dear all, I have two files, both of similar formats. In column 1 are Latitude values (real numbers, e.g. -179.25), column 2 has Longitude values (also real numbers) and in one of the files, column 3 has Population Density values (integers); there is no column 3 in the other file. However, the main difference between these two files is that one has fewer rows than the other. So what I'm