# \donttest{
if (require("ggplot2", quietly = TRUE)) {
data(mexdolphin_sf, package = "inlabru")
ggplot() +
gg(mexdolphin_sf$mesh) +
gg(mexdolphin_sf$ppoly, color = "blue", alpha = 0, linewidth = 1) +
gg(mexdolphin_sf$samplers) +
gg(mexdolphin_sf$points, aes(size = size), color = "red") +
scale_size_area()
ggplot() +
gg(mexdolphin_sf$mesh, color = mexdolphin_sf$lambda, mask = mexdolphin_sf$ppoly)
}
# }
Run the code above in your browser using DataLab