fit_stationary_flow_rate: Calculate stationary flow rate in the drainage

Description Usage Arguments Value Examples

View source: R/fit_models.R

Description

Calculates the median of the flow rate in a given time interval, usually the stationary flow interval.

Usage

1
fit_stationary_flow_rate(drainage_data, stationary_time)

Arguments

drainage_data

tibble or data.frame. Drainage data from a column experiment. The first column must contain the time, the second the drainage data.

stationary_time

numeric vector of length 2. The time interval where the flow is assumed to be stationary. Typically one would select the shortly before the irrigation is switched off, i.e. 0.9 * end_of_irrigation until end_or_irrigation.

Value

numeric. The stationary flow rate

Examples

1
2
data(drainage)
fit_stationary_flow_rate(drainage_data = drainage, stationary_time = c(0.9 * 64410 , 64410))

ChrisBogner/ViscousFlow documentation built on June 13, 2021, 7:47 a.m.