Learn R Programming

trackeR (version 0.0.3)

timeline: Generic function for visualising the sessions on a time versus date plot.

Description

Generic function for visualising the sessions on a time versus date plot.

Usage

timeline(object, lims, ...)

Arguments

object
An object of class trackeRdata or trackeRdataSummary
lims
An optional vector of two times in HH:MM format. Default is NULL. If supplied, the times are used to define the limits of the time axis.
...
Arguments passed to summary.trackeRdata

Examples

Run this code
## Not run: 
# data("runs", package = "trackeR")
# ## timeline plot applied on the trackeRdata object directly and with
# ## inferred limits for the time axis
# timeline(runs)
# 
# ## the same timeline plot applied on the trackeRdataSummary object
# runSummary <- summary(runs)
# timeline(runSummary, lims = c("00:01", "23:59"))
# ## End(Not run)

Run the code above in your browser using DataLab