RelativeWaterDeficit: Relative Water Deficit (RWD)

Description Usage Arguments Details Value Examples

View source: R/RelativeWaterDeficit.R

Description

Calculates relative water deficit (%)

Usage

1
2
3
RelativeWaterDeficit(data, fresh.weight = "fresh.weight",
  dry.weight = "dry.weight",
  fresh.weight.saturated = "fresh.weight.saturated")

Arguments

data

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)

fresh.weight

optional name of the column in data containing the numeric fresh weight values (g); default: fresh.weight

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

Details

Relative water deficit (%) is calculated as:

RWD = 100 - 100 * ((FW - DW) (FWs - DW)^-1)

whereas FW = fresh weight, DW = dry weight and FWs = fresh weight at water saturation.

Value

the original data frame extended by a numeric column with the relative water deficit (RWD) (%).

Examples

1
2
3
4
5
# get example data
df <- leaf_drying_data

# extend df by RWD
df_with_RWD <- RelativeWaterDeficit(df)

pvldcurve documentation built on Oct. 23, 2020, 8:09 p.m.