irregular | R Documentation |
Three-column data.frame of irregularly-spaced longitudes, latitudes and depths.
data(irregular)
A three-columns data.frame containing longitude, latitude and depth/elevation data.
Data modified form a dataset kindly provided by Noah Lottig from the university of Wisconsin https://limnology.wisc.edu/staff/lottig-noah/ in the framework of the North Temperate Lakes Long Term Ecological Research program https://lter.limnology.wisc.edu
griddify
# load data
data(irregular)
# use griddify
reg <- griddify(irregular, nlon = 40, nlat = 60)
# switch to class "bathy"
class(reg)
bat <- as.bathy(reg)
summary(bat)
# Plot the new bathy object along with the original data
plot(bat, image = TRUE, lwd = 0.1)
points(irregular$lon, irregular$lat, pch = 19, cex = 0.3, col = col2alpha(3))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.