Transforms a variable that contains information about when an observation was taken into a numeric vector, then averages the response variable across a specified interval of time.
tranformTime(Data, TimeVar, Time, RepVar, GroupVar, ResponVar)
A data set.
The name (as a string) of the time variable.
The interval time the response is averaged across.
The name (as a string) of the replicate variable.
The name (as a string) of the treatment variable.
The name (as a string) of response variable.
Returns a data set where the time variable has been changed to a numeric time and the response variable has been averaged across time.
This function just averages across time.