guess_fk: FK estimate function

View source: R/fnc_guessFK.R

guess_fkR Documentation

FK estimate function

Description

This simple function guesses field capacity (FK) based on a series of soil moisture values. The function looks for local maxima, takes the values days_passed after those local maxima and calculates a median of these values.

Usage

guess_fk(vals, days_passed = 3, perzentil = 0.95, with_image = NA)

Arguments

vals

time series of soil moisture data given as vector

days_passed

there are debates, whether field capacity is reached after 3,4, or 5 days. Can be set here. Default is 3 days.

perzentil

exclude maxima outside of percentile

with_image

whether guessing process shall be visualised. If so, provide a file name with full path.

Value

Value of volumetric water content (theta) for given pressure head (psi)


rhabel/modLWFB90 documentation built on Nov. 21, 2024, 3:28 a.m.