Displaying 1 result from an estimated 1 matches for "basin_slop".
Did you mean:
basin_slope
2007 Mar 27
1
"Groups" in XYPLOT
...anges).
Full code follows, xyplot code at bottom
#########Determine Frequencies
##########coastal_slope
#needs the maptools package to read ESRI grid
require(maptools)
#import the flow slope grid
basin.map <- readAsciiGrid("C:/R_PLots/coastal_slp.asc", colname="slope")
basin_slope <- (basin.map$slope)
#read the slopes into a dataframe
freqs<-as.data.frame(table(basin_slope))
#rank the frequencies based on each unique occerence, note, ranks from 1 to
n
r<-rank(freqs$basin_slope)
n<-length(r)
#determing the probability, n+1 insures there is no 100%, 1- reverses th...