Displaying 1 result from an estimated 1 matches for "yraw".
Did you mean:
raw
2009 Jun 15
2
Bin Category Labels on Axis
...utputs the factor values of the
number of bins.
In much more detail:
One set of data is fractional values for the amount of cropland in a
designated area (raster cell). The second is annual average temperature
data, in the same format. I import these using:
xRaw<-scan(".../Temp.txt")
yRaw<-scan(".../Cropland.txt")
and then designate cells with values of -9999 as NAs:
x<-ifelse(xRaw==-9999,NA,xRaw)
y<-ifelse(yRaw==-9999,NA,yRaw)
Then, I compile them into a 2 column data frame, and exclude the NA values:
zRaw<-data.frame(x,y)
z<-na.exclude(zRaw)
I am then l...