R/compareDistributions3.R
RWDI.Rd
Calculate Root Weight Depth Index
RWDI(w, roots)
Numeric vector of weights (typically depths)
Numeric vector of root coverage values
Numeric RWDI value
w <- seq(5, 25, 5) roots <- c(0, 10, 7, 3, 1) rwdi <- RWDI(w, roots)