Functional thresholds alter the relationship of plant resistance and recovery to drought