Displaying 1 result from an estimated 1 matches for "basin_curv".
2007 Mar 27
1
"Groups" in XYPLOT
..., sep=",",
col.names=TRUE, row.names=TRUE, quote=TRUE, na="NA")
##########coastal_curvature
#needs the maptools package to read ESRI grid
require(maptools)
#import the curvature grid
basin.map <- readAsciiGrid("C:/R_PLots/coastal_crv.asc", colname="curv")
basin_curv <- (basin.map$curv)
#read the curvs into a dataframe
freqs<-as.data.frame(table(basin_curv))
#rank the frequencies based on each unique occerence, note, ranks from 1 to
n
r<-rank(freqs$basin_curv)
n<-length(r)
#determing the probability, n+1 insures there is no 100%, 1- reverses the
ord...