Plot histogram of stability class on season or hour base.
Arguments
- mydata
A data frame containing
date
andstability class
fields.- sc
The name of the stability class field.
- type
type determines how the data are split and then plotted. Accepted values are "season" (default) and "hour".
- locale
Locale to use for day and month names. Default is current locale. Supported locales are listed in stringi::stri_locale_list(). All other labels are in English by default or in Italian if its locale is specified.
Examples
data("stMeteo")
# Season plot of stability class pgt
plotStabilityClass(stMeteo, sc = "pgt", type = "season")
# Hourly plot of stability class pgt
plotStabilityClass(stMeteo, sc = "pgt", type = "hour")
# Override default locale
plotStabilityClass(stMeteo, sc = "pgt", type = "season", locale = "it_IT")