Description Usage Arguments Value Author(s) Examples
Create a barcode plot from a time-series of temperature data.
1 2 3 4 | cantemp_barcode(data, scale_col_low = "#053061",
scale_col_mid = "white", scale_col_high = "#67001f",
scale_col_na = "grey50", scale_name = NULL, scale_breaks = 5,
scale_digits = 1, x_breaks = waiver())
|
data |
A |
scale_col_low |
Color for low end of temperature gradient (see
|
scale_col_mid |
Color for middle of temperature gradient (see
|
scale_col_high |
Color for high end of temperature gradient (see
|
scale_col_na |
Color for missing values of temperature (see
|
scale_name |
Name to print above color scale |
scale_breaks |
Number of breaks in color scale |
scale_digits |
Number of digits in color scale temperature labels |
x_breaks |
Breaks for the x-axis (see 'breaks' argument of
|
A barcode plot
Patrick M. Barks <patrick.barks@gmail.com>
1 2 3 4 | temp_annual <- cantemp_fetch(interval = "annual")
temp_toronto <- subset(temp_annual, station == "TORONTO")
cantemp_barcode(temp_toronto)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.