ll_plot_device_data_logs: Plot device data logs

View source: R/plotting.R

ll_plot_device_data_logsR Documentation

Plot device data logs

Description

This function helps to visualize data logs retrieved with ll_get_device_data_logs or read in from downloaded data logs.

Usage

ll_plot_device_data_logs(
  device_data_logs,
  filter = NULL,
  show_error_range = FALSE,
  exclude_outliers = FALSE,
  duration_breaks = NULL,
  date_breaks = NULL,
  include_device_info = FALSE,
  overlay_experiments = FALSE,
  quiet = default(quiet)
)

Arguments

device_data_logs

data logs

duration_breaks

specify a duration unit or interval (e.g. "hours" or "20 mins") to indicate whether x axis should be displayed as a duration since the first data point within each experiment. If interval is specified, this will be used for axis intervals, if just time unit the axis will have regular auto-ticks. If duration_breaks = NULL (the default), the x axis is displayed as regular date time (set date_breaks instead).

date_breaks

formate the datetime breaks if not plotting duration (i.e. is ignored if duration_units is provided)

include_device_info

whether to include the device info (name and index) in the data trace label

overlay_experiments

whether to overlay the experiments instead of paneling (default is panels). This usually makes most sense if x axis is a duration (set via duration units)

See Also

Other data logs functions: ll_get_device_data_logs(), ll_read_device_data_logs_from_file(), ll_write_device_data_logs_to_file()


KopfLab/lablogger documentation built on July 6, 2023, 12:03 a.m.