if (FALSE) {
if (bru_safe_inla() &&
require("rgl", quietly = TRUE) &&
require("sphereplot", quietly = TRUE) &&
bru_safe_sp()) {
# Load pantropoical dolphin data
data("mexdolphin", package = "inlabru")
# Show the globe
globe()
# Add mesh, ship transects and dolphin sightings stored
# as inla.mesh, SpatialLines and SpatialPoints objects, respectively
glplot(mexdolphin$mesh)
glplot(mexdolphin$samplers)
glplot(mexdolphin$points)
}
}
Run the code above in your browser using DataLab