Description Usage Arguments Details Value Examples
Calculates relative water deficit (%) as mean value of a measurement interval
1 2 3 | RWDInterval(data, sample = "sample", fresh.weight = "fitted.fw",
dry.weight = "dry.weight",
fresh.weight.saturated = "fresh.weight.saturated")
|
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), 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" |
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.
the original data frame extended by a numeric column with the mean relative water deficit for the measurement interal (RWD.interval) (%).
1 2 3 4 5 | # get example data
df <- leaf_drying_data
# extend df by RWD
df_with_RWD <- RWDInterval(df, fresh.weight = "fresh.weight")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.