addTimeAxis: Add Time Axis

View source: R/main.R

addTimeAxisR Documentation

Add Time Axis

Description

Add Time Axis

Usage

addTimeAxis(
  myDateTime,
  xlim = range(myDateTime),
  n = 20,
  time.format = NULL,
  add.grid = FALSE,
  padj = 0.5
)

Arguments

myDateTime

vector of POSIXct timestamps

xlim

lower and upper limits of range of timestamps to be shown

n

number of timestamps to be shown, passed to pretty

time.format

time format string such as " format.POSIXct

add.grid

if TRUE vertical lines are added at the positions of the time tickmarks

padj

passed to axis


KWB-R/kwb.plot documentation built on Oct. 2, 2023, 10:16 p.m.