Skip to content
Prev 25204 / 29559 Next

Building a vector of random sf st_points

On 21/12/16 17:25, Pierre Racine wrote:
Hi Pierre!
Geometry set for 3 features
geometry type:  POINT
dimension:      XY
bbox:           xmin: 1 ymin: 4 xmax: 3 ymax: 6
epsg (SRID):    NA
proj4string:    NA
POINT(1 4)
POINT(2 5)
POINT(3 6)
apply wants to to mold the output into a matrix; it can, and so it does.
We want a list of POINT objects, so need to use lapply.