Displaying 2 results from an estimated 2 matches for "lulc".
Did you mean:
llc
2002 Oct 25
1
reshape: duplicate rows to multiple cols
I have a dataframe that I'm trying to reshape, and need advice. My data:
> klam.merge[200:225,]
stream lulc x sumlength pct.lgth
200 1223030419685 92 0.25000000 9.89 2.52780586
201 1223030419686 23 0.00274154 4.73 0.05796068
202 1223030419686 41 0.75009917 4.73 15.85833341
203 1223030419686 42 2.65000000 4.73 56.02536998
204 1223030419686 43 0.11715929 4.7...
2010 Oct 12
0
Stripes in the plot
...ody help to see what's the problem?
Here's the code:
library(maptools);gpclibPermit()
KSR <- readShapeLines("/Users/R/Code/data/KS_River_Basin_Dissolve.shp")
states <- readShapeLines("/Users/R/Code/data/statesp020.shp")
ppt <- read.table ('/Users/R/Code/LULC/pptnewlulc.dat', header = FALSE) # the size is 5764(pixels) x 528(periods)
ppt <- (ppt/100)*25.4 #convert from hundredths of an inch to mm
# the range of the area
plat <- as.matrix(seq(38.16836,41.29575,by=0.07273)) #dimension is (44,1)
plon <- as.matrix(seq(-103.9752,-94.5,by=0.07273...