Autoplot Method for the Class "rqTList"
.
autoplot.rqTList.Rd
Create an object inheriting from the "ggplot"
class showing
the quantile regression curves (i.e. the threshold curves) against
the date.
Arguments
- object
The
rqTList
object.- lastFullYear
Logical. If
TRUE
the prediction will be computed only on the last full year of the data used in the fit. Seepredict.rqTList
.- ...
Arguments passed to
geom_line
such aslinetype
,size
.
Examples
if (FALSE) {
RqRennes <- rqTList(dailyMet = Rennes)
g <- autoplot(RqRennes)
stat <- findStationMF("bordeaux-me")
## you may here have to use `Sys.setenv(metData = xxx)`
Bordeaux <- readMet(stat)
RqBordeaux <- rqTList(dailyMet = Bordeaux)
g <- g + autolayer(RqBordeaux, linetype = "dashed", size = 1.2) +
ggtitle(paste0("Quantile regression for Rennes (solid thin line) ",
"and Bordeaux (dashed thick line)"))
g
}