Hi, 
I have some data 

data=read.table("SCI.was" ,header=TRUE)

sci_lat=data[,7] # latitude
temp_lon=data[,8] # longitude
# the longitude data is in 360 degree format need to convert to -180 to 180
sci_lon= ((temp_lon+180) %% 360 ) -180

m <-cbind(sci_lon,sci_lat)
dist <- spDistsN1(m, m[1,], longlat=TRUE)
hist(dist[2:9997])
try <- deldir(sci_lon,sci_lat)
try_p <- deldir(sci_lon,sci_lat,plot=TRUE,wl='tr') 

Now I would like to calculate the length of each triangulated face , could
somebody please tell me how to calculate it ?


Cheers 
Uday 
              

 

--
View this message in context: 
http://r.789695.n4.nabble.com/how-to-calculate-length-of-each-triangulated-face-in-deldir-tp4339205p4339205.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to