firegram | R Documentation |
This function plots the distribution of the daily ensemble, against the hres and previously calculated thresholds
firegram(thresholds, hres, ens, max_index = 100)
thresholds |
is a numeric vector containing the index thresholds corresponding to: very low, low, moderate, high, very high, extreme danger |
hres |
is the RasterBrick containing the high resolution forecasts |
ens |
is the RasterBrick containing the ensemble forecasts |
max_index |
is the upper limit of the y-axis |
## Not run: p <- firegram(thresholds, hres, ens) # Use custom color palette p + colorspace::scale_fill_discrete_diverging(palette = "Blue-Red 2") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.