Tmax.find {TDPanalysis}R Documentation

Find Tmax

Description

Find the daily maximum of tension

Usage

Tmax.find(tension, dates, ID)

Arguments

tension

Vector with tension.

dates

Vector with dates in the DOY format.

ID

Character vector for specifying which group the tension is assigned to (e.g. trees)

Value

Return a vector containing daily Tmax for each group specified in the ID argument

Examples

tension = c(1:20)
dates = c(rep(102, times=10), rep(103, times=10))
ID = c(rep("A", times=5), rep("B", times=5), rep("A", times=5), rep("B", times=5))
Tmax.find(tension=tension, dates=dates, ID=ID)

[Package TDPanalysis version 1.0 Index]