Learn R Programming

sgsR (version 1.5.0)

coords_existing: Get existing and XY coordinates

Description

This function extracts the 'X' and 'Y' coordinates from an 'sf' object and returns them in a data.frame format.

Usage

coords_existing(existing)

Value

existing with respective 'X' and 'Y' columns representing the coordinates of the input sf object.

Arguments

existing

sf 'POINT'. Existing plot network.