MtStHelens | R Documentation |
The MtStHelens
data frame has 640 latitude/longitude pairs corresponding to the locations of epicentres of earthquakes in the Mount Saint Helens region of U.S.A.
data(MtStHelens)
This data frame contains the following columns:
latitude
degrees latitide of an epicentre location.
longitude
degrees longitude of an epicentre location.
O'Sullivan, F. and Pawitan, Y. (1993). Multivariate density estimation by tomography. Journal of the Royal Statistical Society, Series B, 55, 509-521.
data(MtStHelens) plot(MtStHelens$longitude,MtStHelens$latitude, xlab = "degrees longitude",ylab = "degrees latitude") library(KernSmooth) densEst <- bkde2D(cbind(MtStHelens$longitude,MtStHelens$latitude),bandwidth = c(0.005,0.005)) contour(densEst$x1,densEst$x2,densEst$fhat,col = "blue",lwd = 2, xlab = "degrees longitude",ylab = "degrees latitude") points(MtStHelens$longitude,MtStHelens$latitude,col = "red",cex = 0.3)