| toypoints {inlabru} | R Documentation |
Simulated 2D point process data
Description
This data set serves as an example for basic inlabru.
Usage
data(toypoints)
Format
The data are a list that contains these elements:
pointsAn
sfobject of point locations and andzmeasurementsmeshAn
fm_mesh_2dobjectboundaryAn
sfpolygon denting the region of interestpred_locsA
sfobject with prediction point locations
Examples
if (require("ggplot2")) {
ggplot() +
fmesher::geom_fm(data = toypoints$mesh, alpha = 0) +
geom_sf(data = toypoints$boundary, fill = "blue", alpha = 0.1) +
geom_sf(data = toypoints$points, aes(color = z)) +
scale_color_viridis_c()
}
[Package inlabru version 2.11.1 Index]