xs2pts: XS lines to points

View source: R/xs2pts.R

xs2ptsR Documentation

XS lines to points

Description

Converts a 'fluvgeo' cross section data structure from lines to points.

Usage

xs2pts(xs_sf)

Arguments

xs_sf

sf data frame; a cross section data structure created by the fluvgeo package.

Value

Returns a sf::sf data frame of cross section lines converted to points.

Examples

# Retrieve a cross section data structure
xs_sf <- fluvgeo::sin_riffle_floodplain_dims_L3_sf

# Call the xs2pts function for a cross section
xs_pts <- xs2pts(xs_sf)


FluvialGeomorph/fluvgeo documentation built on Feb. 19, 2025, 4:24 p.m.