midpoints {timeordered}R Documentation

Determines the mean value of each row of a matrix; used as a convenience function for plotting.

Description

-

Usage

midpoints(td)

Arguments

td

A n x 2 matrix describing a set of start and stop times.

Value

A mean value for each of n rows of td

Author(s)

Benjamin Blonder bblonder@email.arizona.edu.

See Also

generatetimelags,generatetimedeltas ~~~

Examples

tl100 <- generatetimelags(0,1500,100)
boxplot(t(midpoints(tl100)))

[Package timeordered version 1.0.0 Index]