waterheat | R Documentation |
Produces heat maps from water data.
waterheat(
object,
charname = NA,
category = NA,
by = "sitem",
yname = NA,
xname = NA,
labels = NA,
title = NULL,
ltitle = NA,
stat = "mean",
siteorder = NA,
webplot = FALSE,
...
)
object |
Required. Either a |
charname |
Required if |
category |
Required if |
by |
Indicates how the data for the heatmap should be grouped. A text variable in quotes. Choices are:
|
yname |
Text, defaults to |
xname |
Text, defaults to |
labels |
A character vector indicating the labels for the ticks on the y-axis. If left as |
title |
A title in the graph in quotes. Defaults to |
ltitle |
The title for the legend in quotes. Defaults to |
stat |
Used to determine cell values when more than one observation corresponds to a single cell. One of four options:"mean", "median",min" or "max", corresponding to the mean (the default), the median, the minimum or the maximum of all values for that cell. |
siteorder |
The order in which sites should be displayed when |
webplot |
If |
... |
Additional arguments used to select and filter data passed to |
Creates a heatmap
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.