Last chance! 50% off unlimited learning
Sale ends in
as.coastline(latitude, longitude)
class
"coastline"
(for details, see read.coastline
).read.coastline
cannot read a file, or when
the data have been manipulated.coastline-class
explains the
structure of coastline objects, and also outlines the other functions
dealing with them.d<-read.table("bbasin.dat",header=FALSE) # dataset not provided with oce
HH <-c(1645:2105) # main outline of Halifax Harbour
GI <-c(4866:4885) # George's Island
coastlineHalifax <- as.coastline(latitude[c(HH,GI)],longitude[c(HH,GI)]-360)
Run the code above in your browser using DataLab