tsheatmap: Heatmap Plot of Timeseries

Description Usage Arguments Value

View source: R/tsheatmap.R

Description

This function creates a plotly object with the heatmap of the timeseries data.frame.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
tsheatmap(
  data,
  data_colname = NULL,
  tzone = "UTC",
  datetime_colname = "Datetime",
  z_limits = NULL,
  x_label = "ISO week",
  y_label = "Day of the week",
  LegendTitle = "",
  na.value.col = "red",
  ggplot = F
)

Arguments

data

a data.frame with at least one column of POSIXct values.

data_colname

column name of the column with values to be plotted of the data.frame data

tzone

give the timezone format to be used. default = "UTC"

datetime_colname

column name of the column with POSIXct values of the data.frame data

z_limits

a vector of two numeric c(min,max) e.g c(0,100) to scale the heatmap colors.

x_label

x axis label of the plot

y_label

y axis label of the plot

LegendTitle

legend title of the plot

na.value.col

a color value for all na values in the heatmap

Value

a heatmap of the timeseries data as plotly object


NanisTe/tsheatmap documentation built on Jan. 29, 2020, 8:02 p.m.