compare_xs_long_profile: Compare cross section longitudinal profiles from multiple...

View source: R/compare_xs_long_profile.R

compare_xs_long_profileR Documentation

Compare cross section longitudinal profiles from multiple surveys

Description

Compare cross section longitudinal profiles from multiple surveys.

Usage

compare_xs_long_profile(
  stream,
  xs_pts_sf_list,
  features_sf = NULL,
  profile_units = "feet",
  label_xs = TRUE,
  xs_label_freq = 10
)

Arguments

stream

character; The name of the stream.

xs_pts_sf_list

list; a list of 'sf' objects of cross section points, one for each survey time period to be graphed. Survey list items must be tagged with the survey label to be used in the graph legend.

features_sf

'sf' object' of infrastructure features.

profile_units

character; the units of the longitudinal profile. One of "kilometers", "meters", "miles", or "feet"

label_xs

logical; Draw the cross section labels?

xs_label_freq

numeric; An integer indicating the frequency of cross section labels.

Details

This function is used to plot the cross section longitudinal profile from a series of xs_points data frames representing multiple surveys.

Value

A ggplot2 object.

See Also

This function requires a flowline_points sf object. See the sin_flowline_points_sf package dataset for an example of this format of cross section data produced by the FluvialGeomorph ArcGIS toolbox.


FluvialGeomorph/fluvgeo documentation built on April 12, 2024, 5:35 p.m.