Description Usage Arguments Value
Create ggplot heatmap
1 2 3 4 5 6 7 8 9 10 11 12 | .create_heatmap(
df_in,
x,
y,
.fill,
clrs = NULL,
na_color = "white",
ttl = .fill,
ang = 45,
hjst = 1,
...
)
|
df_in |
data.frame |
x |
Variable to plot on the x-axis |
y |
Variable to plot on the y-axis |
.fill |
Variable to use for the fill color |
clrs |
Vector of colors for plotting |
na_color |
Color to use for missing values |
ttl |
Legend title |
ang |
Angle of x-axis text |
hjst |
Horizontal justification for x-axis text |
... |
Additional arguments to pass to ggplot |
ggplot object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.