mat_st_to_df: mat_st_to_df

Description Usage Arguments Examples

View source: R/sf_functions.R

Description

mat_st_to_df

Usage

1
mat_st_to_df(shp, add_xy = FALSE)

Arguments

shp

shp

add_xy

Logical. Add xy coordinates?

Examples

1
2
3
4
library(sf)
shp <- st_sf(a=c(3,2), geometry=st_sfc(st_point(1:2), st_point(2:3)))
mat_st_to_df(shp)
mat_st_to_df(shp, add_xy = TRUE)

MatthieuStigler/matPkg documentation built on Aug. 10, 2021, 11:01 a.m.