Displaying 1 result from an estimated 1 matches for "kealakekua".
2009 Jan 10
1
Bubble plot on shapefile - projection issues?
...couldn't get it to work.? Any suggestions would be greatly appreciated.?
?
My code is below.? I have also attached the shapefile and my data.
?
Thanks in advance for your help.
?
Aloha,
?
Tim
?
?
?
?
#Read ESRI shapefiles
library(maptools)
library (PBSmapping)
setwd("E:/Telemetry_research/Kealakekua Bay MPA study/R bubble plot")
hawaii.coast<- read.shape("coast_n83.shp")
?
#Read data and convert to event data
? mydat<-read.table("my.event", header=TRUE)
? my.event<-as.EventData(mydat,projection="LL")
?
#Calculate bubble size
? detects<-mydat$Detec...