get_channels: A function that returns sections and channels

View source: R/get_channels.R

get_channelsR Documentation

A function that returns sections and channels

Description

A function that returns sections and channels

Usage

get_channels(sr, hmin, hmax, type = "bankfull")

Arguments

sr

tibble with columns l and z describing profile

hmin

the minimum height (relative to local minimum of z) of levees-defining local maxima

hmax

the maximum height (relative to minimum of z) of a channel-defining local minima

type

whether to return section or bankfull channel ("section" or "bankfull"). Defaults to "bankfull"

Value

channels a tibble with sections and channels descriptors

Examples

data(s1)
channels=get_channels(s1, hmin=1, hmax=5.5)

lvaudor/riverbed documentation built on Feb. 25, 2023, 3:47 p.m.