chart_heatmap: Function that returns ggplot heatmap chart

View source: R/clus_explorer_utils_reports.R

chart_heatmapR Documentation

Function that returns ggplot heatmap chart

Description

Function that returns ggplot heatmap chart

Usage

chart_heatmap(
  data,
  x,
  y,
  z,
  legend_position = "right",
  title = "",
  subtitle = "",
  caption = "",
  n.dodge = NULL,
  check.overlap = FALSE
)

Arguments

data

Data to be plotted

x

X coordinate

y

Y coordinate

z

Z coordinate

legend_position

Legend position ('top', 'right', 'bottom', 'left')

title

Chart title

subtitle

Chart subtitle

caption

Chart caption

n.dodge

Dodge parameter

check.overlap

Whether to check for overlapping labels


bcgov/clus_explorer documentation built on Oct. 16, 2022, 1:56 p.m.