ggheat {mbRes} | R Documentation |
Make Heatmap
Description
ggheat
creates heatmaps of the Cliff's delta and S-value. This is not
meant to be called directly.
Usage
ggheat(
dat,
hax,
vax,
cell,
nm,
lim,
lo,
hi,
diverging = FALSE,
env = parent.frame()
)
Arguments
dat |
a data frame with at least three columns. |
hax |
a character, name of the column to be used as the horizontal axis. |
vax |
a character, name of the column to be used as the vertical axis. |
cell |
a character, name of the column to be used as the cells. |
nm |
a character, name of the heatmap. |
lim |
a numeric vector, limits of the color scale. |
lo |
a character, color of the color scale low end. |
hi |
a character, color of the color scale high end. |
diverging |
a logical, whether to use diverging color gradient. |
env |
an environment, to access outer scope variables. |
Value
ggheat
returns a ggplot object.
[Package mbRes version 0.1.7 Index]