StatCharrms (version 0.90.92)

tranformTime: Transforms the time variable

Description

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.

Usage

tranformTime(Data, TimeVar, Time, RepVar, GroupVar, ResponVar)

Arguments

Data

A data set.

TimeVar

The name (as a string) of the time variable.

Time

The interval time the response is averaged across.

RepVar

The name (as a string) of the replicate variable.

GroupVar

The name (as a string) of the treatment variable.

ResponVar

The name (as a string) of response variable.

Value

Returns a data set where the time variable has been changed to a numeric time and the response variable has been averaged across time.

Details

This function just averages across time.