Tmax {MIfuns}R Documentation

Calculate Tmax

Description

Calculate the time associated with the maximum concentration for each subject

Usage

Tmax(data, id = "ID", dv = "DV", time = "TIME")

Arguments

data the name of the R data.frame containing the data to use for the Tmax calculation.
time chronologically ordered time variable present in data
id variable in data defining subject level data
dv dependent variable used to calculate Tmax present in data

Details

The Tmax() function performs the calculation based on the variables id, time, and dv present in the R data object

Value

one Tmax is returned for each subject

Author(s)

Developed by Metrum Institute (Bill Knebel, Tim Bergsma, and others).

References

MIfuns package available from Metrum Institute website (http://metruminstitute.org/).


[Package MIfuns version 3.2.9 Index]