Generic methods for extracting information and plotting spei objects.
See print.spei
See print.spei
Details
These functions allow extracting information and plotting
spei objects. print yields the fitted values, i.e. a time
series of SPEI or SPI values. summary reports the function call,
the parameters of the PDF used, and the time series of SPEI or SPI values.
plot produces a plot of the time series of SPEI or SPI values, with
blue and red colors for positive and negative values, respectively. If a
reference period was used in the function call it is shown by a shaded area.
In the event that NA or Inf values were produced, these are shown by
circles. The plot is a ggplot2 object, so it can be further
modified by adding ggplot2 layers or themes.
These are S3 methods: call them as print(x), summary(x)
and plot(x). The method functions themselves (e.g.
plot.spei) are not exported.
See print.spei
See print.spei
