cross_series: This function crosses two (l,z) series and provides a tibble...

View source: R/cross_series.R

cross_seriesR Documentation

This function crosses two (l,z) series and provides a tibble regarding all points of interest (observations, intersections, interpolations)

Description

This function crosses two (l,z) series and provides a tibble regarding all points of interest (observations, intersections, interpolations)

Usage

cross_series(s1, s2, h = NA)

Arguments

s1

tibble with columns l and z describing first profile

s2

tibble with columns l and z describing second profile

h

if provided by user, the second profile is supposed to be horizontal, with constant height=h (defaults to NA)

Value

a tibble providing info on all points of interest in the crossing of the two series.

Examples

data(s1)
data(s2)
cross_series(s1,s2)
cross_series(s1,h=2)

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