Learn R Programming

rsgeo (version 0.1.7)

flatten_geoms: Flatten a list of rsgeo vectors

Description

Flatten a list of rsgeo vectors

Usage

flatten_geoms(x)

Value

Returns an object of class rsgeo

Arguments

x

list object where each element is an object of class rsgeo

Examples

Run this code
pnts <- replicate(
  10,
  geom_point(runif(1), runif(1)),
  simplify = FALSE
)

flatten_geoms(pnts)

Run the code above in your browser using DataLab