if (require("ggplot2", quietly = TRUE)) {
# Load Gorilla data
data(gorillas, package = "inlabru")
# Invoke ggplot and add geomes for the Gorilla nests and the survey boundary
ggplot() +
gg(gorillas$boundary) +
gg(gorillas$nests)
}
Run the code above in your browser using DataLab