Plot continuous data versus time

y_time(
  df,
  x = pm_axis_time(),
  y,
  xunit = opts$time.unit,
  yname = NULL,
  xs = list(),
  ys = list(),
  log = FALSE,
  xby = NULL,
  ...
)

Arguments

df

data frame to plot

x

character name for x-axis data

y

character name for y-axis data

xunit

used to form x-axis title

yname

used to form y-axis title

xs

see defx

ys

see defy

log

if TRUE, y-axis will be log-transformed

xby

interval for breaks on x-axis (time)

...

passed to scatt

Value

A single plot.

Details

This function is intended for internal use.

When the y-axis label needs a unit, include it in the yname specification.

Since this function creates a scatter plot, both the x and y columns must be numeric.

The xby argument is provided for convenience to set breaks for time scales.