prettyTimes: Create a vector of times for labelling a time axis.

Description Usage Arguments Value Author(s) Examples

Description

This algorithm usually gives better results than axis.POSIXt.

Usage

1
prettyTimes(tmin, tmax, n)

Arguments

tmin

Lower limit of time axis (POSIXct).

tmax

Upper limit of time axis (POSIXct).

n

Desired number of axis ticks.

Value

A list with components values and format. See example for usage.

Author(s)

David Kneis david.kneis@tu-dresden.de

Examples

1
2
3
4
5
## Not run: 
  times= prettyTimes(lower, upper, 10)
  axis.POSIXct(1, at=times$values, format=times$format, las=2, xlab="")

## End(Not run)

dkneis/rodeoApp documentation built on May 15, 2019, 9:12 a.m.