geometry_to_lines: Convert geometry points to lines

View source: R/plotting_functions.R

geometry_to_linesR Documentation

Convert geometry points to lines

Description

Convert points in a geometry object to lines accessible by ggplot2::geom_line.

Usage

geometry_to_lines(data, x_add = 0, y_add = 0)

Arguments

data

sf geometry data.

x_add

x value to extend the line by.

y_add

y value to extend the line by.

Value

A data.frame.


wtumber/sfRotate documentation built on June 16, 2022, 8:40 a.m.