Description Usage Arguments Value
View source: R/utility_functions.R
The relative weights are calculated by taking the first derivative using the function D1 from library sfsmisc. Then, they are transformed into a flow rate. Both, a smoothed version of the derivative and the trivial differences are returned.
1 2 3 4 5 6 7 | calculate_drainage_flow(
scale_s,
rho_H20 = 0.99704,
D,
delta_out = 30,
convert_mm_h = TRUE
)
|
scale_s |
tibble. First column time in sec, second column cumulative weight of the drained water |
rho_H20 |
numeric. Density of water, default is 0.99704 g/mL or g/cm^3 |
D |
numeric. Diameter of the soil column in m. |
delta_out |
numeric. Output sampling time interval, default is 30 sec. Must equal at least the length of the original sampling interval. |
convert_mm_h |
logical. Should the flow rate be converted to mm/h. Default is TRUE. |
tibble. First column is time in sec, second is the flow rate in mm/h
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.