data frame with columns of equal length containing at least columns with the fresh weight (g),
the dry weight (g) and the saturated fresh weight (g), ordered by sample by descending by fresh weight. A column containing
the sample IDs is optionally required if several samples were measured.
sample
optional name of the column in data containing the sample IDs, default: "sample"
fresh.weight
optional name of the column in data containing
the numeric fresh weight values (g); default: "fitted.fw"
dry.weight
optional name of the column in data containing
the numeric dry weight values (g); default: "dry.weight"
fresh.weight.saturated
optional name of the column in data containing
the numeric saturated fresh weight values (g); default: "fresh.weight.saturated"
Value
the original data frame extended by a numeric column with the mean relative water deficit for the measurement
interal (RWD.interval) (%).
Details
First, the mean fresh weight is calculated for each measurement interval. Relative water deficit (%) is
then calculated as:
$$RWD = 100 - 100 * ((mFW - DW) (FWs - DW)^-1)$$
whereas mFW = mean fresh weight, DW = dry weight and FWs = fresh weight at water saturation.