Generate sf objects (5)

# Set of points (points as a matrix)
p <- rbind(c(6, 2), c(6.1, 2.6), c(6.8, 2.5),
           c(6.2, 1.5), c(6.8, 1.8))
p
##      [,1] [,2]
## [1,]  6.0  2.0
## [2,]  6.1  2.6
## [3,]  6.8  2.5
## [4,]  6.2  1.5
## [5,]  6.8  1.8
mp_sfg <- st_multipoint(p)
mp_sfg
## MULTIPOINT ((6 2), (6.1 2.6), (6.8 2.5), (6.2 1.5), (6.8 1.8))