Wednesday, 11 September 2013

R studio bubble plot with 3 ranges

R studio bubble plot with 3 ranges

latitude and longitude as scatterplot, depth as circles. in addition
divide magnitude into 3 equal ranges and label plot with different symbols
depending into which group they fall.
plot(xyplot(lat~long|cut(mag,3), data = quakes,layout = c(3,1),
xlab="Longitude",ylab="Latitude")) with(quakes, symbols(long,lat,
circles=depth,inches=.25,add=TRUE))
This is all i can come up with. any hints?

No comments:

Post a Comment