Displaying 1 result from an estimated 1 matches for "popdensity".
Did you mean:
pdensity
2008 Jul 15
3
Melt (reshape) question
...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 87.25 V720 -99
232659...