Calculates a single value that is a function of the values of an individual for a response in a data.frame in long format over a specified time interval.
function
data.frame
Useful links